Skip to content

Commit c2516ea

Browse files
accurate error description
1 parent 9412877 commit c2516ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎consensus/core/src/errors/pruning.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub enum PruningImportError {
3030
#[error("the pruning proof selected tip {0} at level {1} is not a parent of the pruning point on the same level")]
3131
PruningProofSelectedTipNotParentOfPruningPoint(Hash, BlockLevel),
3232

33-
#[error("the pruning proof selected tip {0} at level {1} blue score {2} <= 2M")]
33+
#[error("the pruning proof selected tip {0} at level {1} blue score {2} < 2M and root is not genesis")]
3434
PruningProofSelectedTipNotEnoughBlueScore(Hash, BlockLevel, u64),
3535

3636
#[error("provided pruning proof is weaker than local: {0}")]

0 commit comments

Comments
 (0)