Skip to content

Commit 9c58810

Browse files
authored
eth: fix typos and outdated comments (#32324)
1 parent 17d65e9 commit 9c58810

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

eth/ethconfig/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ type Config struct {
154154
// RPCEVMTimeout is the global timeout for eth-call.
155155
RPCEVMTimeout time.Duration
156156

157-
// RPCTxFeeCap is the global transaction fee(price * gaslimit) cap for
157+
// RPCTxFeeCap is the global transaction fee (price * gas limit) cap for
158158
// send-transaction variants. The unit is ether.
159159
RPCTxFeeCap float64
160160

eth/filters/filter.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,6 @@ func (f *Filter) blockLogs(ctx context.Context, header *types.Header) ([]*types.
456456

457457
// checkMatches checks if the receipts belonging to the given header contain any log events that
458458
// match the filter criteria. This function is called when the bloom filter signals a potential match.
459-
// skipFilter signals all logs of the given block are requested.
460459
func (f *Filter) checkMatches(ctx context.Context, header *types.Header) ([]*types.Log, error) {
461460
hash := header.Hash()
462461
// Logs in cache are partially filled with context data

eth/filters/filter_system.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ type EventSystem struct {
207207
}
208208

209209
// NewEventSystem creates a new manager that listens for event on the given mux,
210-
// parses and filters them. It uses the all map to retrieve filter changes. The
210+
// parses and filters them. It uses an internal map to retrieve filter changes. The
211211
// work loop holds its own index that is used to forward events to filters.
212212
//
213213
// The returned manager has a loop that needs to be stopped with the Stop function

0 commit comments

Comments
 (0)