eth/tracers, internal/ethapi: fix typos causing lint issue (#22711)

This commit is contained in:
gary rong 2021-04-21 16:18:27 +08:00 committed by GitHub
parent dd9c3225cf
commit 96828c90f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -372,7 +372,7 @@ func TestOverridenTraceCall(t *testing.T) {
expectErr: core.ErrInsufficientFundsForTransfer, expectErr: core.ErrInsufficientFundsForTransfer,
expect: nil, expect: nil,
}, },
// Sucessful simple contract call // Successful simple contract call
// //
// // SPDX-License-Identifier: GPL-3.0 // // SPDX-License-Identifier: GPL-3.0
// //

View File

@ -817,7 +817,7 @@ type OverrideAccount struct {
StateDiff *map[common.Hash]common.Hash `json:"stateDiff"` StateDiff *map[common.Hash]common.Hash `json:"stateDiff"`
} }
// StateOverride is the collection of overriden accounts. // StateOverride is the collection of overridden accounts.
type StateOverride map[common.Address]OverrideAccount type StateOverride map[common.Address]OverrideAccount
// Apply overrides the fields of specified accounts into the given state. // Apply overrides the fields of specified accounts into the given state.