aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-27 18:43:14 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-27 18:43:14 +0800
commit2788fb4ce51be646946c9dd66a607ab26b2bd6b3 (patch)
treef4f570bd7791ef8b804b6a1b0706837736e9842e /xeth/xeth.go
parentc38630af2330151f7c1f054cd09b38870d0751c8 (diff)
downloadgo-tangerine-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.tar
go-tangerine-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.tar.gz
go-tangerine-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.tar.bz2
go-tangerine-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.tar.lz
go-tangerine-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.tar.xz
go-tangerine-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.tar.zst
go-tangerine-2788fb4ce51be646946c9dd66a607ab26b2bd6b3.zip
More explicit formatting for protocol version
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r--xeth/xeth.go6
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 {