diff --git a/core/state/parallel_statedb.go b/core/state/parallel_statedb.go index 051153815f..a2b513735c 100644 --- a/core/state/parallel_statedb.go +++ b/core/state/parallel_statedb.go @@ -1317,7 +1317,7 @@ func (slotDB *ParallelStateDB) IsParallelReadsValid(isStage2 bool) bool { if isStage2 { // update slotDB's unconfirmed DB list and try if slotDB.parallel.useDAG { // DAG never reads from unconfirmedDB, skip check. - return false + return true } if nonceUnconfirm, ok := slotDB.getNonceFromUnconfirmedDB(addr); ok { if nonceSlot != nonceUnconfirm { @@ -1348,7 +1348,7 @@ func (slotDB *ParallelStateDB) IsParallelReadsValid(isStage2 bool) bool { if isStage2 { // update slotDB's unconfirmed DB list and try if slotDB.parallel.useDAG { // DAG never reads from unconfirmedDB, skip check. - return false + return true } if balanceUnconfirm := slotDB.getBalanceFromUnconfirmedDB(addr); balanceUnconfirm != nil { if balanceSlot.Cmp(balanceUnconfirm) == 0 {