Skip to content

Commit

Permalink
fix: clear JournalState and set first journal vec (#1929)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita authored and royvardhan committed Dec 20, 2024
1 parent 5e0e91c commit c1d3c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/context/src/journaled_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ impl<DB: Database> JournaledStateTrait for JournaledState<DB> {
self.state.clear();
self.transient_storage.clear();
self.logs.clear();
self.journal.clear();
self.journal = vec![vec![]];
self.depth = 0;
self.warm_preloaded_addresses.clear();
}
Expand Down

0 comments on commit c1d3c74

Please sign in to comment.