Skip to content

Commit e5d5c69

Browse files
committed
compare hash
1 parent 8a529a3 commit e5d5c69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x/evm/types/utils_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ func TestUnwrapEthererumMsg(t *testing.T) {
6767
tx = builder.GetTx().(sdk.Tx)
6868
msg_, err := evmtypes.UnwrapEthereumMsg(&tx, msg.AsTransaction().Hash())
6969
require.Nil(t, err)
70-
// mmsqe time
71-
require.Equal(t, msg_.Data, msg.Data)
70+
// mmsqe setDecoded change time after Unmarshal
71+
require.Equal(t, msg_.Raw.Transaction.Hash(), msg.Raw.Transaction.Hash())
7272
}
7373

7474
func TestBinSearch(t *testing.T) {

0 commit comments

Comments
 (0)