From 72ce4adc5d4c036111f3771b01f828bb325bfbb4 Mon Sep 17 00:00:00 2001 From: Renato Dinhani Date: Thu, 22 Feb 2024 22:00:03 -0300 Subject: [PATCH] fix: reuse computed value --- src/eth/storage/inmemory/inmemory_permanent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eth/storage/inmemory/inmemory_permanent.rs b/src/eth/storage/inmemory/inmemory_permanent.rs index 882efd598..119d5578f 100644 --- a/src/eth/storage/inmemory/inmemory_permanent.rs +++ b/src/eth/storage/inmemory/inmemory_permanent.rs @@ -308,7 +308,7 @@ impl PermanentStorage for InMemoryPermanentStorage { } // save block execution changes - Self::save_account_changes(&mut state, *block.number(), block.compact_account_changes()).await; + Self::save_account_changes(&mut state, *block.number(), account_changes).await; Ok(()) }