Skip to content

Commit

Permalink
fix: reuse computed value
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhani-cw committed Feb 23, 2024
1 parent a3e2a7d commit 72ce4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eth/storage/inmemory/inmemory_permanent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}
Expand Down

0 comments on commit 72ce4ad

Please sign in to comment.