Commit e39cf657 authored by 李伟@五瓣科技's avatar 李伟@五瓣科技

fix json tag

parent 308c7c4d
...@@ -115,11 +115,11 @@ func Start(redisAddr, passwd string) { ...@@ -115,11 +115,11 @@ func Start(redisAddr, passwd string) {
} }
type TxBytes struct { type TxBytes struct {
From []byte From []byte `json:"From"`
Tx []byte Tx []byte `json:"TxBytes"`
} }
type RedisBatchTxs struct { type RedisBatchTxs struct {
Txs []TxBytes Txs []TxBytes `json:"Txs"`
Hash []byte Hash []byte `json:"Hash"`
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment