From 07126a491ab148a032f3e695b9cfb70daa1cee54 Mon Sep 17 00:00:00 2001 From: Igor Crevar Date: Thu, 22 Sep 2022 15:55:22 +0200 Subject: [PATCH] small fix --- state/testing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/testing.go b/state/testing.go index b21071a6c0..51ca356cdd 100644 --- a/state/testing.go +++ b/state/testing.go @@ -126,7 +126,7 @@ func testDeleteCommonStateRoot(t *testing.T, buildPreState buildPreState) { txn2.SetState(addr1, hash0, hash0) txn2.SetState(addr1, hash1, hash0) - objs = txn.Commit(false) + objs = txn2.Commit(false) snap3, _ := snap2.Commit(objs) txn3 := newTxn(state, snap3)