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

pull/29933/head
Hteev Oli 5 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 return
default: 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 { for _, fetcher := range p.fetchers {
fetcher.terminate(async) fetcher.terminate(async)
} }

@ -398,7 +398,7 @@ func TestSupplySelfdestruct(t *testing.T) {
} }
// Tests selfdestructing contract to send its balance to itself (burn). // 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 A calls B and D.
// - Contract B selfdestructs and sends the eth1 to itself (Burn amount to be counted). // - Contract B selfdestructs and sends the eth1 to itself (Burn amount to be counted).
// - Contract C selfdestructs and sends the eth1 to itself. // - Contract C selfdestructs and sends the eth1 to itself.

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

Loading…
Cancel
Save