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

fix json tag

parent 308c7c4d
......@@ -115,11 +115,11 @@ func Start(redisAddr, passwd string) {
}
type TxBytes struct {
From []byte
Tx []byte
From []byte `json:"From"`
Tx []byte `json:"TxBytes"`
}
type RedisBatchTxs struct {
Txs []TxBytes
Hash []byte
Txs []TxBytes `json:"Txs"`
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