Skip to content

Commit f43859e

Browse files
Merge pull request #25 from everFinance/fix-bug
fix(): fix block type
2 parents 091be68 + b858d92 commit f43859e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

types/types.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ type Block struct {
2121
Height int64 `json:"height"`
2222
Hash string `json:"hash"`
2323
IndepHash string `json:"indep_hash"`
24-
Txs []interface{} `json:"txs"`
24+
Txs []string `json:"txs"`
2525
WalletList string `json:"wallet_list"`
2626
RewardAddr string `json:"reward_addr"`
2727
Tags []interface{} `json:"tags"`
28-
RewardPool string `json:"reward_pool"`
29-
WeaveSize string `json:"weave_size"`
30-
BlockSize string `json:"block_size"`
28+
RewardPool interface{} `json:"reward_pool"`
29+
WeaveSize interface{} `json:"weave_size"`
30+
BlockSize interface{} `json:"block_size"`
3131
}
3232

3333
type TransactionChunk struct {

0 commit comments

Comments
 (0)