Add addrlocal to GetPeerInfoResult.
ok @davecgh
This commit is contained in:
parent
50473f6ed3
commit
8a503c6148
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ type DecodeScriptResult struct {
|
|||
// GetPeerInfoResult models the data returned from the getpeerinfo command.
|
||||
type GetPeerInfoResult struct {
|
||||
Addr string `json:"addr"`
|
||||
AddrLocal string `json:"addrlocal,omitempty"`
|
||||
Services string `json:"services"`
|
||||
LastSend int64 `json:"lastsend"`
|
||||
LastRecv int64 `json:"lastrecv"`
|
||||
|
|
Loading…
Reference in a new issue