From 8a503c614839cf6f6ea7ea006932cec84de1c7da Mon Sep 17 00:00:00 2001 From: David Hill Date: Wed, 9 Apr 2014 22:39:25 -0400 Subject: [PATCH] Add addrlocal to GetPeerInfoResult. ok @davecgh --- jsonapi.go | 1 + 1 file changed, 1 insertion(+) diff --git a/jsonapi.go b/jsonapi.go index dc263328..d3837461 100644 --- a/jsonapi.go +++ b/jsonapi.go @@ -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"`