consensus: fix possessives in comments. (#20209)

This commit is contained in:
Guillaume Ballet
2019-10-28 16:57:34 +09:00
committed by Péter Szilágyi
parent db79143a13
commit 72617a0742
3 changed files with 5 additions and 5 deletions

View File

@ -311,7 +311,7 @@ func (c *Clique) verifyCascadingFields(chain consensus.ChainReader, header *type
if number == 0 {
return nil
}
// Ensure that the block's timestamp isn't too close to it's parent
// Ensure that the block's timestamp isn't too close to its parent
var parent *types.Header
if len(parents) > 0 {
parent = parents[len(parents)-1]
@ -522,7 +522,7 @@ func (c *Clique) Prepare(chain consensus.ChainReader, header *types.Header) erro
// Set the correct difficulty
header.Difficulty = CalcDifficulty(snap, c.signer)
// Ensure the extra data has all it's components
// Ensure the extra data has all its components
if len(header.Extra) < extraVanity {
header.Extra = append(header.Extra, bytes.Repeat([]byte{0x00}, extraVanity-len(header.Extra))...)
}