diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-27 18:43:14 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-27 18:43:14 +0800 |
commit | 2788fb4ce51be646946c9dd66a607ab26b2bd6b3 (patch) | |
tree | f4f570bd7791ef8b804b6a1b0706837736e9842e | |
parent | c38630af2330151f7c1f054cd09b38870d0751c8 (diff) | |
download | dexon-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.tar dexon-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.tar.gz dexon-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.tar.bz2 dexon-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.tar.lz dexon-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.tar.xz dexon-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.tar.zst dexon-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.zip |
More explicit formatting for protocol version
-rw-r--r-- | xeth/xeth.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index bf30fc2fc..445303997 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -218,15 +218,15 @@ func (self *XEth) IsMining() bool { } func (self *XEth) EthVersion() string { - return string(self.backend.EthVersion()) + return fmt.Sprintf("%d", self.backend.EthVersion()) } func (self *XEth) NetworkVersion() string { - return string(self.backend.NetVersion()) + return fmt.Sprintf("%d", self.backend.NetVersion()) } func (self *XEth) WhisperVersion() string { - return string(self.backend.ShhVersion()) + return fmt.Sprintf("%d", self.backend.ShhVersion()) } func (self *XEth) ClientVersion() string { |