Skip to content

Commit 5791d32

Browse files
authored
fix: compile error (#521)
1 parent d87a8c4 commit 5791d32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/edr_evm/src/state/remote/cached.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ impl<ChainSpecT: RpcSpec> State for CachedRemoteState<ChainSpecT> {
107107

108108
/// Fetches an account from the remote state. If it exists, code is split off
109109
/// and stored separately in the provided cache.
110-
fn fetch_remote_account(
110+
fn fetch_remote_account<ChainSpecT: RpcSpec>(
111111
address: Address,
112-
remote: &RemoteState,
112+
remote: &RemoteState<ChainSpecT>,
113113
code_cache: &mut HashMap<u64, HashMap<B256, Bytecode>>,
114114
) -> Result<Option<AccountInfo>, StateError> {
115115
let account = remote.basic(address)?.map(|mut account_info| {

0 commit comments

Comments
 (0)