Skip to content

Commit 3665c16

Browse files
MariusVanDerWijdenenriquefynn
authored andcommitted
eth: updated comments (ethereum#21490)
1 parent 9ece3e7 commit 3665c16

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

eth/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ func (api *PrivateDebugAPI) GetBadBlocks(ctx context.Context) ([]*BadBlockArgs,
354354
// AccountRangeMaxResults is the maximum number of results to be returned per call
355355
const AccountRangeMaxResults = 256
356356

357-
// AccountRangeAt enumerates all accounts in the given block and start point in paging request
357+
// AccountRange enumerates all accounts in the given block and start point in paging request
358358
func (api *PublicDebugAPI) AccountRange(blockNrOrHash rpc.BlockNumberOrHash, start []byte, maxResults int, nocode, nostorage, incompletes bool) (state.IteratorDump, error) {
359359
var stateDb *state.StateDB
360360
var err error

eth/api_tracer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ func (api *PrivateDebugAPI) TraceBlockFromFile(ctx context.Context, file string,
401401
return api.TraceBlock(ctx, blob, config)
402402
}
403403

404-
// TraceBadBlockByHash returns the structured logs created during the execution of
404+
// TraceBadBlock returns the structured logs created during the execution of
405405
// EVM against a block pulled from the pool of bad ones and returns them as a JSON
406406
// object.
407407
func (api *PrivateDebugAPI) TraceBadBlock(ctx context.Context, hash common.Hash, config *TraceConfig) ([]*txTraceResult, error) {

eth/bloombits.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func (b *BloomIndexer) Commit() error {
137137
return batch.Write()
138138
}
139139

140-
// PruneSections returns an empty error since we don't support pruning here.
140+
// Prune returns an empty error since we don't support pruning here.
141141
func (b *BloomIndexer) Prune(threshold uint64) error {
142142
return nil
143143
}

0 commit comments

Comments
 (0)