From d25aa76447bc60b69c7f3ce5dea15068f9f4d7fa Mon Sep 17 00:00:00 2001 From: Jerry Date: Tue, 24 Jan 2023 12:08:08 -0800 Subject: [PATCH] Minor fix in statedb test --- core/state/statedb_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/state/statedb_test.go b/core/state/statedb_test.go index 73b028bfcc..053d57470a 100644 --- a/core/state/statedb_test.go +++ b/core/state/statedb_test.go @@ -524,8 +524,8 @@ func TestMVHashMapReadWriteDelete(t *testing.T) { states[1].FlushMVWriteSet() // Tx1 read - v = states[2].GetState(addr, key) - b := states[2].GetBalance(addr) + v = states[1].GetState(addr, key) + b := states[1].GetBalance(addr) assert.Equal(t, val, v) assert.Equal(t, balance, b)