Fix api.Block json serialization
This commit is contained in:
parent
1d8389bb2c
commit
6784ecd6b3
@ -295,7 +295,7 @@ type Blocks struct {
|
|||||||
type Block struct {
|
type Block struct {
|
||||||
Paging
|
Paging
|
||||||
bchain.BlockInfo
|
bchain.BlockInfo
|
||||||
TxCount int `json:"TxCount"`
|
TxCount int `json:"txCount"`
|
||||||
Transactions []*Tx `json:"txs,omitempty"`
|
Transactions []*Tx `json:"txs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user