We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48821b6 commit 8586d1dCopy full SHA for 8586d1d
1 file changed
crates/validator/src/block_validation/mod.rs
@@ -93,7 +93,8 @@ pub async fn validate_block(
93
chain_tip
94
};
95
96
- // Previous block commitment must match the chain tip's commitment.
+ // The proposed block's parent must match the block that the Validator has determined is its
97
+ // parent (either chain tip or parent of chain tip).
98
if proposed_header.prev_block_commitment() != prev.commitment() {
99
return Err(BlockValidationError::PrevBlockCommitmentMismatch);
100
}
0 commit comments