mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
fixup! Prune from highest data availability boundary
This commit is contained in:
@@ -346,7 +346,7 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> BackgroundMigrator<E, Ho
|
|||||||
(Notification::Finalization(_), Notification::PruneBlobs(_)) => best,
|
(Notification::Finalization(_), Notification::PruneBlobs(_)) => best,
|
||||||
(Notification::PruneBlobs(_), Notification::Finalization(_)) => other,
|
(Notification::PruneBlobs(_), Notification::Finalization(_)) => other,
|
||||||
(Notification::PruneBlobs(dab1), Notification::PruneBlobs(dab2)) => {
|
(Notification::PruneBlobs(dab1), Notification::PruneBlobs(dab2)) => {
|
||||||
if dab2 > dab2 {
|
if dab2 > dab1 {
|
||||||
other
|
other
|
||||||
} else {
|
} else {
|
||||||
best
|
best
|
||||||
|
|||||||
Reference in New Issue
Block a user