core: fix typos in comments (#21118)

This commit is contained in:
Daniel Liu 2024-05-11 18:34:04 +08:00
parent 7179efd4da
commit 624371433e
2 changed files with 2 additions and 2 deletions

View file

@ -1167,7 +1167,7 @@ func TestEIP161AccountRemoval(t *testing.T) {
t.Error("account should not exist") t.Error("account should not exist")
} }
// account musn't be created post eip 161 // account mustn't be created post eip 161
if _, err := blockchain.InsertChain(types.Blocks{blocks[2]}); err != nil { if _, err := blockchain.InsertChain(types.Blocks{blocks[2]}); err != nil {
t.Fatal(err) t.Fatal(err)
} }

View file

@ -85,7 +85,7 @@ var (
// maximum allowance of the current block. // maximum allowance of the current block.
ErrGasLimit = errors.New("exceeds block gas limit") ErrGasLimit = errors.New("exceeds block gas limit")
// ErrNegativeValue is a sanity error to ensure noone is able to specify a // ErrNegativeValue is a sanity error to ensure no one is able to specify a
// transaction with a negative value. // transaction with a negative value.
ErrNegativeValue = errors.New("negative value") ErrNegativeValue = errors.New("negative value")