From d264ff2dc7d9b243b78807ae00c83942ca9bb000 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Mon, 11 Sep 2017 13:03:08 +0200 Subject: [PATCH] types: fix BlockHeader.Prev --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index 3ec602cf..030e64fb 100644 --- a/types.go +++ b/types.go @@ -46,7 +46,7 @@ type Block struct { type BlockHeader struct { Hash string `json:"hash"` - Prev string `json:"prevblockhash"` + Prev string `json:"previousblockhash"` Next string `json:"nextblockhash"` Height uint32 `json:"height"` Confirmations int `json:"confirmations"`