mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
receipt repair migration - check for r storage mode (#2301)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
This commit is contained in:
parent
7cca5abfea
commit
afadde628c
@ -39,6 +39,10 @@ var receiptRepair = Migration{
|
||||
log.Warn("Could not perform this migration because history is not in storage mode")
|
||||
return CommitProgress(db, nil, true)
|
||||
}
|
||||
if !sm.Receipts {
|
||||
log.Info("Migration is only relevant for storage mode with receipts, skipping")
|
||||
return CommitProgress(db, nil, true)
|
||||
}
|
||||
}
|
||||
|
||||
genesisBlock, err := rawdb.ReadBlockByNumber(tx, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user