mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
fix reset tx sequence value (#7606)
This commit is contained in:
parent
299c81e522
commit
0dc8e271a9
@ -260,7 +260,7 @@ func FillDBFromSnapshots(logPrefix string, ctx context.Context, tx kv.RwTx,
|
||||
return err
|
||||
}
|
||||
// ResetSequence - allow set arbitrary value to sequence (for example to decrement it to exact value)
|
||||
if err := rawdb.ResetSequence(tx, kv.EthTx, lastTxnID); err != nil {
|
||||
if err := rawdb.ResetSequence(tx, kv.EthTx, lastTxnID+1); err != nil {
|
||||
return err
|
||||
}
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user