From 2788fb4ce51be646946c9dd66a607ab26b2bd6b3 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Fri, 27 Mar 2015 11:43:14 +0100 Subject: More explicit formatting for protocol version --- xeth/xeth.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xeth') 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 { -- cgit