Commit 6753eb47 authored by mdj33's avatar mdj33 Committed by vipwzw

fix ut

parent e6b1a948
...@@ -620,8 +620,8 @@ func (s *VoteTestSuite) TestVoteTxFork() { ...@@ -620,8 +620,8 @@ func (s *VoteTestSuite) TestVoteTxFork() {
if bytes.Equal(key, kv.Key) { if bytes.Equal(key, kv.Key) {
var rst pt.ParacrossNodeStatus var rst pt.ParacrossNodeStatus
types.Decode(kv.GetValue(), &rst) types.Decode(kv.GetValue(), &rst)
s.Equal([]uint8([]byte{0x8e}), rst.TxResult) s.Equal([]byte("8e"), rst.TxResult)
s.Equal([]uint8([]byte{0x22}), rst.CrossTxResult) s.Equal([]byte("22"), rst.CrossTxResult)
s.Equal(1, len(rst.TxHashs)) s.Equal(1, len(rst.TxHashs))
s.Equal(1, len(rst.CrossTxHashs)) s.Equal(1, len(rst.CrossTxHashs))
......
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