Skip to content

Commit

Permalink
fix conditional compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospb19-cw committed Dec 11, 2024
1 parent ed16945 commit 415452a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eth/storage/permanent/rocks/rocks_permanent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ impl PermanentStorage for RocksPermanentStorage {

#[cfg(feature = "dev")]
fn reset(&self) -> anyhow::Result<()> {
self.block_number.store(0u64, Ordering::SeqCst);
self.block_number.store(0u32, Ordering::SeqCst);
self.state.reset().inspect_err(|e| {
tracing::error!(reason = ?e, "failed to reset in RocksPermanent");
})
Expand Down

0 comments on commit 415452a

Please sign in to comment.