Skip to content

Commit 1cc2947

Browse files
tomasandroilallformless
authored andcommitted
eth: fix typos and outdated comments (ethereum#32324)
1 parent a965fdd commit 1cc2947

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
@@ -189,7 +189,7 @@ type Config struct {
189189
// RPCEVMTimeout is the global timeout for eth-call.
190190
RPCEVMTimeout time.Duration
191191

192-
// RPCTxFeeCap is the global transaction fee(price * gaslimit) cap for
192+
// RPCTxFeeCap is the global transaction fee (price * gas limit) cap for
193193
// send-transaction variants. The unit is ether.
194194
RPCTxFeeCap float64
195195

eth/filters/filter.go

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

465465
// checkMatches checks if the receipts belonging to the given header contain any log events that
466466
// match the filter criteria. This function is called when the bloom filter signals a potential match.
467-
// skipFilter signals all logs of the given block are requested.
468467
func (f *Filter) checkMatches(ctx context.Context, header *types.Header) ([]*types.Log, error) {
469468
hash := header.Hash()
470469
// 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
@@ -223,7 +223,7 @@ type EventSystem struct {
223223
}
224224

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

0 commit comments

Comments
 (0)