mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
extra reset before starting change in rewind side fork (#4774)
* extra reset before starting change * extra reset before starting change Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
This commit is contained in:
parent
7573a41069
commit
1becfc509b
@ -103,6 +103,7 @@ func (fv *ForkValidator) rewindAccumulator(to uint64, accumulator *shards.Accumu
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// Start the changes
|
// Start the changes
|
||||||
|
accumulator.Reset(0)
|
||||||
accumulator.StartChange(to, hash, txs, true)
|
accumulator.StartChange(to, hash, txs, true)
|
||||||
accChangesCursor, err := fv.extendingFork.CursorDupSort(kv.AccountChangeSet)
|
accChangesCursor, err := fv.extendingFork.CursorDupSort(kv.AccountChangeSet)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user