Fix api.Block json serialization
parent
1d8389bb2c
commit
6784ecd6b3
|
@ -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"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue