Skip to content

Commit

Permalink
swap order
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Sep 11, 2024
1 parent 178f850 commit 026bfcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/chain-state/src/in_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ impl CanonicalInMemoryStateInner {
// acquire locks, starting with the numbers lock
let mut numbers = self.in_memory_state.numbers.write();
let mut blocks = self.in_memory_state.blocks.write();
blocks.clear();
numbers.clear();
blocks.clear();
self.in_memory_state.pending.send_modify(|p| {
p.take();
});
Expand Down

0 comments on commit 026bfcc

Please sign in to comment.