chore: fix function name in comment (#1529)

Signed-off-by: shangchengbabaiban <shuang.cui@live.cn>
This commit is contained in:
shangchengbabaiban 2025-05-02 12:56:08 +09:00 committed by GitHub
parent 7a5c864340
commit 956753646a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -221,7 +221,7 @@ func (h *Header) ValidateBlockNumberOptionsPIP15(minBlockNumber *big.Int, maxBlo
return nil return nil
} }
// ValidateBlockNumberOptionsPIP15 validates the timestamp range passed as in the options parameter in the conditional transaction (PIP-15) // ValidateTimestampOptionsPIP15 validates the timestamp range passed as in the options parameter in the conditional transaction (PIP-15)
func (h *Header) ValidateTimestampOptionsPIP15(minTimestamp *uint64, maxTimestamp *uint64) error { func (h *Header) ValidateTimestampOptionsPIP15(minTimestamp *uint64, maxTimestamp *uint64) error {
currentBlockTime := h.Time currentBlockTime := h.Time