good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit afadde62 authored by ledgerwatch's avatar ledgerwatch Committed by GitHub
Browse files

receipt repair migration - check for r storage mode (#2301)

parent 7cca5abf
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment