mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-24 12:27:17 +00:00
More explicit formatting for protocol version
This commit is contained in:
parent
c38630af23
commit
2788fb4ce5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user