Skip to content

Commit e85e21c

Browse files
authored
core/state, eth/tracers: fix typos (#29932)
1 parent fc40d68 commit e85e21c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/state/trie_prefetcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func (p *triePrefetcher) terminate(async bool) {
8282
return
8383
default:
8484
}
85-
// Termiante all sub-fetchers, sync or async, depending on the request
85+
// Terminate all sub-fetchers, sync or async, depending on the request
8686
for _, fetcher := range p.fetchers {
8787
fetcher.terminate(async)
8888
}

eth/tracers/internal/tracetest/supply_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ func TestSupplySelfdestruct(t *testing.T) {
398398
}
399399

400400
// Tests selfdestructing contract to send its balance to itself (burn).
401-
// It tests both cases of selfdestructing succeding and being reverted.
401+
// It tests both cases of selfdestructing succeeding and being reverted.
402402
// - Contract A calls B and D.
403403
// - Contract B selfdestructs and sends the eth1 to itself (Burn amount to be counted).
404404
// - Contract C selfdestructs and sends the eth1 to itself.

eth/tracers/live/supply.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func (s *supply) internalTxsHandler(call *supplyTxCallstack) {
205205
}
206206

207207
if len(call.calls) > 0 {
208-
// Recursivelly handle internal calls
208+
// Recursively handle internal calls
209209
for _, call := range call.calls {
210210
callCopy := call
211211
s.internalTxsHandler(&callCopy)

0 commit comments

Comments
 (0)