btcjson: Add errors to InfoChainResult

The getinfo RPC will now include the errors attribute in the
result.
This commit is contained in:
David Hill 2015-10-09 10:21:13 -04:00
parent 0029905d43
commit f862536929

View file

@ -364,6 +364,7 @@ type InfoChainResult struct {
Difficulty float64 `json:"difficulty"`
TestNet bool `json:"testnet"`
RelayFee float64 `json:"relayfee"`
Errors string `json:"errors"`
}
// LocalAddressesResult models the localaddresses data from the getnetworkinfo