More explicit formatting for protocol version

This commit is contained in:
Taylor Gerring 2015-03-27 11:43:14 +01:00
parent c38630af23
commit 2788fb4ce5

View File

@ -218,15 +218,15 @@ func (self *XEth) IsMining() bool {
} }
func (self *XEth) EthVersion() string { func (self *XEth) EthVersion() string {
return string(self.backend.EthVersion()) return fmt.Sprintf("%d", self.backend.EthVersion())
} }
func (self *XEth) NetworkVersion() string { func (self *XEth) NetworkVersion() string {
return string(self.backend.NetVersion()) return fmt.Sprintf("%d", self.backend.NetVersion())
} }
func (self *XEth) WhisperVersion() string { func (self *XEth) WhisperVersion() string {
return string(self.backend.ShhVersion()) return fmt.Sprintf("%d", self.backend.ShhVersion())
} }
func (self *XEth) ClientVersion() string { func (self *XEth) ClientVersion() string {