Change PingTime and PingWait to float64.
This is to match bitcoin-core. Caught by Skelsey. Closes #24
This commit is contained in:
parent
ac5cc1d64e
commit
3d7749fcea
1 changed files with 16 additions and 16 deletions
|
@ -104,8 +104,8 @@ type GetPeerInfoResult struct {
|
|||
LastRecv int64 `json:"lastrecv"`
|
||||
BytesSent uint64 `json:"bytessent"`
|
||||
BytesRecv uint64 `json:"bytesrecv"`
|
||||
PingTime int64 `json:"pingtime"`
|
||||
PingWait int64 `json:"pingwait,omitempty"`
|
||||
PingTime float64 `json:"pingtime"`
|
||||
PingWait float64 `json:"pingwait,omitempty"`
|
||||
ConnTime int64 `json:"conntime"`
|
||||
Version uint32 `json:"version"`
|
||||
SubVer string `json:"subver"`
|
||||
|
|
Loading…
Reference in a new issue