consensus: fix misspell errors (#1673)

This commit is contained in:
wit liu 2025-11-04 14:13:29 +08:00 committed by GitHub
parent 13ed19bcf2
commit 4c22aa9d4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,7 +75,7 @@ func (x *XDPoS_v2) verifyHeader(chain consensus.ChainReader, header *types.Heade
return fmt.Errorf("gas used exceeded gaslimit, gas used: %d, gas limit: %d", header.GasUsed, header.GasLimit)
}
// Verify this is truely a v2 block first
// Verify this is a true v2 block first
quorumCert, round, _, err := x.getExtraFields(header)
if err != nil {
log.Warn("[verifyHeader] decode extra field error", "err", err)