mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
core: fix typos in comments (#21118)
This commit is contained in:
parent
7179efd4da
commit
624371433e
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue