From b1cda45ccb84bf589f392a8d287c80f7d6766c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Bezerra?= Date: Wed, 11 Dec 2024 13:14:04 -0300 Subject: [PATCH] fix conditional compilation --- src/eth/storage/permanent/rocks/rocks_permanent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eth/storage/permanent/rocks/rocks_permanent.rs b/src/eth/storage/permanent/rocks/rocks_permanent.rs index 5da96c4f7..90b6e7c60 100644 --- a/src/eth/storage/permanent/rocks/rocks_permanent.rs +++ b/src/eth/storage/permanent/rocks/rocks_permanent.rs @@ -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"); })