Skip to content

Commit

Permalink
fix: use original bytes (#4150)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Aug 10, 2023
1 parent e43187b commit 2338720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/revm/revm-inspectors/src/tracing/builder/parity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ where

let code_hash = if db_acc.code_hash != KECCAK_EMPTY { db_acc.code_hash } else { continue };

curr_ref.code = db.code_by_hash(code_hash)?.bytecode.into();
curr_ref.code = db.code_by_hash(code_hash)?.original_bytes().into();
}

Ok(())
Expand Down

0 comments on commit 2338720

Please sign in to comment.