fix: use original bytes for codes (#11593)

This commit is contained in:
Matthias Seitz
2024-10-09 04:48:36 +02:00
committed by GitHub
parent 3141f6db26
commit 1e1de3dd77

View File

@ -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 {