From 51698bfc97d327a8667833af3d60702bfdfad64e Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Wed, 8 Mar 2023 10:18:58 +0700 Subject: [PATCH] more history tests --- state/history_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/history_test.go b/state/history_test.go index c50862594..2dcb4cf99 100644 --- a/state/history_test.go +++ b/state/history_test.go @@ -661,7 +661,7 @@ func TestIterateChanged2(t *testing.T) { v, ok, err = hc.GetNoStateWithRecent(hexutility.MustDecodeHex("0100000000000001"), 0, tx) require.NoError(err) require.True(ok) - require.Nil(v) + require.Equal([]byte{}, v) v, ok, err = hc.GetNoStateWithRecent(hexutility.MustDecodeHex("0100000000000001"), 1000, tx) require.NoError(err) require.True(ok)