From 624371433e52c686c5a3bdb4c5215ec7eeec3190 Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Sat, 11 May 2024 18:34:04 +0800 Subject: [PATCH] core: fix typos in comments (#21118) --- core/blockchain_test.go | 2 +- core/tx_pool.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/blockchain_test.go b/core/blockchain_test.go index 9dc4b65117..1542510a8e 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -1167,7 +1167,7 @@ func TestEIP161AccountRemoval(t *testing.T) { 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 { t.Fatal(err) } diff --git a/core/tx_pool.go b/core/tx_pool.go index dd01bb3814..372c7c1591 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -85,7 +85,7 @@ var ( // maximum allowance of the current block. 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. ErrNegativeValue = errors.New("negative value")