Skip to content

Commit 19443b0

Browse files
committed
chore: drop to_be_bytes
1 parent a1fe075 commit 19443b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/evm/src/executor/inspector/access_list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl<DB: Database> Inspector<DB> for AccessListTracer {
6969
opcode::BALANCE |
7070
opcode::SELFDESTRUCT => {
7171
if let Ok(slot) = interpreter.stack().peek(0) {
72-
let addr: Address = Address::from_word(slot.to_be_bytes::<32>().into());
72+
let addr: Address = Address::from_word(slot.into());
7373
if !self.excluded.contains(&addr) {
7474
self.access_list.entry(addr).or_default();
7575
}

0 commit comments

Comments
 (0)