diff --git a/btcjson/chainsvrresults.go b/btcjson/chainsvrresults.go index 24d6cf7c..30c6369a 100644 --- a/btcjson/chainsvrresults.go +++ b/btcjson/chainsvrresults.go @@ -11,7 +11,7 @@ import "encoding/json" // returns a hex-encoded string. type GetBlockHeaderVerboseResult struct { Hash string `json:"hash"` - Confirmations uint64 `json:"confirmations"` + Confirmations int64 `json:"confirmations"` Height int32 `json:"height"` Version int32 `json:"version"` VersionHex string `json:"versionHex"` @@ -29,7 +29,7 @@ type GetBlockHeaderVerboseResult struct { // hex-encoded string. type GetBlockVerboseResult struct { Hash string `json:"hash"` - Confirmations uint64 `json:"confirmations"` + Confirmations int64 `json:"confirmations"` StrippedSize int32 `json:"strippedsize"` Size int32 `json:"size"` Weight int32 `json:"weight"`