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

pull/22712/head
gary rong 4 years ago committed by GitHub
parent dd9c3225cf
commit 96828c90f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      eth/tracers/api_test.go
  2. 2
      internal/ethapi/api.go

@ -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
// //

@ -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.

Loading…
Cancel
Save