core/state, eth/tracers: fix typos (#29932)

pull/29933/head
Hteev Oli 4 months ago committed by GitHub
parent fc40d68e5b
commit e85e21c932
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      core/state/trie_prefetcher.go
  2. 2
      eth/tracers/internal/tracetest/supply_test.go
  3. 2
      eth/tracers/live/supply.go

@ -82,7 +82,7 @@ func (p *triePrefetcher) terminate(async bool) {
return
default:
}
// Termiante all sub-fetchers, sync or async, depending on the request
// Terminate all sub-fetchers, sync or async, depending on the request
for _, fetcher := range p.fetchers {
fetcher.terminate(async)
}

@ -398,7 +398,7 @@ func TestSupplySelfdestruct(t *testing.T) {
}
// Tests selfdestructing contract to send its balance to itself (burn).
// It tests both cases of selfdestructing succeding and being reverted.
// It tests both cases of selfdestructing succeeding and being reverted.
// - Contract A calls B and D.
// - Contract B selfdestructs and sends the eth1 to itself (Burn amount to be counted).
// - Contract C selfdestructs and sends the eth1 to itself.

@ -205,7 +205,7 @@ func (s *supply) internalTxsHandler(call *supplyTxCallstack) {
}
if len(call.calls) > 0 {
// Recursivelly handle internal calls
// Recursively handle internal calls
for _, call := range call.calls {
callCopy := call
s.internalTxsHandler(&callCopy)

Loading…
Cancel
Save