fixup! Prune from highest data availability boundary

This commit is contained in:
Emilia Hane 2023-01-24 10:08:15 +01:00
parent 43c3c74a48
commit d4795601f2
No known key found for this signature in database
GPG Key ID: E73394F9C09206FA

View File

@ -346,7 +346,7 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> BackgroundMigrator<E, Ho
(Notification::Finalization(_), Notification::PruneBlobs(_)) => best,
(Notification::PruneBlobs(_), Notification::Finalization(_)) => other,
(Notification::PruneBlobs(dab1), Notification::PruneBlobs(dab2)) => {
if dab2 > dab2 {
if dab2 > dab1 {
other
} else {
best