From eefe0a06836fbe5b01c8c6a556d2fcf005b3693f Mon Sep 17 00:00:00 2001 From: Nisheeth Barthwal <nbaztec@gmail.com> Date: Mon, 27 Jan 2025 14:52:37 +0100 Subject: [PATCH] fix base_fee test --- crates/anvil/src/eth/backend/mem/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/anvil/src/eth/backend/mem/mod.rs b/crates/anvil/src/eth/backend/mem/mod.rs index 238d21b77..d27d2f1a1 100644 --- a/crates/anvil/src/eth/backend/mem/mod.rs +++ b/crates/anvil/src/eth/backend/mem/mod.rs @@ -528,7 +528,7 @@ impl Backend { .ok_or(BlockchainError::BlockNotFound)?; // update all settings related to the forked block { - if let Some(fork_url) = forking.json_rpc_url.or(maybe_rpc_url) { + if let Some(fork_url) = forking.json_rpc_url { // Set the fork block number let mut node_config = self.node_config.write().await; node_config.fork_choice = Some(ForkChoice::Block(fork_block_number));