mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-12-26 16:25:18 +00:00
do not fail on pruner first reward chunk revert error (#205)
This commit is contained in:
parent
1434b94495
commit
b7badcda5e
@ -198,11 +198,11 @@ impl Pruner {
|
|||||||
))),
|
))),
|
||||||
Ordering::Equal => Ok(None),
|
Ordering::Equal => Ok(None),
|
||||||
Ordering::Greater => {
|
Ordering::Greater => {
|
||||||
bail!(
|
error!(
|
||||||
"Unexpected first_rewardable_chunk revert: old={} new={}",
|
"Unexpected first_rewardable_chunk revert: old={} new={}",
|
||||||
self.first_rewardable_chunk,
|
self.first_rewardable_chunk, new_first_rewardable
|
||||||
new_first_rewardable
|
|
||||||
);
|
);
|
||||||
|
Ok(None)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user