Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsing committed Jan 2, 2025
1 parent c6b60d5 commit 8e9ba48
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/revm/src/context/inner_evm_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,7 @@ impl<DB: Database> InnerEvmContext<DB> {
}

#[cfg(feature = "scroll")]
return Ok(Eip7702CodeLoad::new_not_delegated(
acc.info.code_hash,
acc.is_cold,
));
return Ok(StateLoad::new(acc.info.code_hash, acc.is_cold));

// SAFETY: safe to unwrap as load_code will insert code if it is empty.
let code = acc.info.code.as_ref().unwrap();
Expand Down

0 comments on commit 8e9ba48

Please sign in to comment.