diff --git a/crates/rpc/rpc/src/debug.rs b/crates/rpc/rpc/src/debug.rs index 9fbde05bb400d..fb04070397768 100644 --- a/crates/rpc/rpc/src/debug.rs +++ b/crates/rpc/rpc/src/debug.rs @@ -619,7 +619,7 @@ where .cache .contracts .iter() - .map(|(hash, code)| (*hash, code.bytes())) + .map(|(hash, code)| (*hash, code.original_bytes())) .collect(); for (address, account) in &statedb.cache.accounts {