Fix api.Block json serialization

pull/136/head
Martin Boehm 2019-03-20 17:49:21 +01:00
parent 1d8389bb2c
commit 6784ecd6b3
1 changed files with 1 additions and 1 deletions

View File

@ -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"`
}