mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-05 18:42:20 +00:00
Prune from highest data availability boundary
This commit is contained in:
parent
c50f83116e
commit
63ca3bfb29
@ -345,7 +345,13 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> BackgroundMigrator<E, Ho
|
||||
}
|
||||
(Notification::Finalization(_), Notification::PruneBlobs(_)) => best,
|
||||
(Notification::PruneBlobs(_), Notification::Finalization(_)) => other,
|
||||
(Notification::PruneBlobs(_), Notification::PruneBlobs(_)) => best,
|
||||
(Notification::PruneBlobs(dab1), Notification::PruneBlobs(dab2)) => {
|
||||
if dab2 > dab2 {
|
||||
other
|
||||
} else {
|
||||
best
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
match notif {
|
||||
|
Loading…
Reference in New Issue
Block a user