Skip to content

Commit 6636d2a

Browse files
authored
docs: fix timestamp validation comment (#20246)
1 parent ab6854d commit 6636d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/consensus/common/src/validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ pub fn validate_against_parent_eip1559_base_fee<ChainSpec: EthChainSpec + Ethere
327327
Ok(())
328328
}
329329

330-
/// Validates the timestamp against the parent to make sure it is in the past.
330+
/// Validates that the block timestamp is greater than the parent block timestamp.
331331
#[inline]
332332
pub fn validate_against_parent_timestamp<H: BlockHeader>(
333333
header: &H,

0 commit comments

Comments
 (0)