mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Fix preState diffMode logic (#4014)
This commit is contained in:
@ -172,7 +172,7 @@ impl GethTraceBuilder {
|
||||
let account_diffs: Vec<_> =
|
||||
state.into_iter().map(|(addr, acc)| (*addr, &acc.info)).collect();
|
||||
|
||||
if prestate_config.is_diff_mode() {
|
||||
if !prestate_config.is_diff_mode() {
|
||||
let mut prestate = PreStateMode::default();
|
||||
for (addr, _) in account_diffs {
|
||||
let db_acc = db.basic(addr)?.unwrap_or_default();
|
||||
|
||||
Reference in New Issue
Block a user