From 6784ecd6b3d0f37a7c0f8b841e18baf9e3f52194 Mon Sep 17 00:00:00 2001 From: Martin Boehm Date: Wed, 20 Mar 2019 17:49:21 +0100 Subject: [PATCH] Fix api.Block json serialization --- api/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/types.go b/api/types.go index d644dd3d..8e539992 100644 --- a/api/types.go +++ b/api/types.go @@ -295,7 +295,7 @@ type Blocks struct { type Block struct { Paging bchain.BlockInfo - TxCount int `json:"TxCount"` + TxCount int `json:"txCount"` Transactions []*Tx `json:"txs,omitempty"` }