do not fail on pruner first reward chunk revert error (#205)

This commit is contained in:
0g-peterzhb 2024-09-19 17:33:56 +08:00 committed by GitHub
parent 1434b94495
commit b7badcda5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -198,11 +198,11 @@ impl Pruner {
))),
Ordering::Equal => Ok(None),
Ordering::Greater => {
bail!(
error!(
"Unexpected first_rewardable_chunk revert: old={} new={}",
self.first_rewardable_chunk,
new_first_rewardable
self.first_rewardable_chunk, new_first_rewardable
);
Ok(None)
}
}
}