mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-02 09:46:26 +00:00
Quarantine.cleanupOrphans(): Delete unviable orphan (#4782)
This commit is contained in:
parent
5ada931c5d
commit
a543b0b446
@ -170,6 +170,7 @@ func cleanupOrphans(quarantine: var Quarantine, finalizedSlot: Slot) =
|
||||
|
||||
for k in toDel:
|
||||
quarantine.addUnviable k[0]
|
||||
quarantine.orphans.del k
|
||||
|
||||
func clearAfterReorg*(quarantine: var Quarantine) =
|
||||
## Clear missing and orphans to start with a fresh slate in case of a reorg
|
||||
|
Loading…
x
Reference in New Issue
Block a user