Skip to content

Commit

Permalink
linter- correct spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshvanahalli committed Apr 26, 2024
1 parent 498311d commit 64ea2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/catalyst/simulated_beacon_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type api struct {
func (a *api) loop() {
var (
// Arbitrum: we need to make newTxs a buffered channel because by the current design of simulated beacon
// it would deadlock with this cycle a.sim.Commit() -> txpool.Sync() -> subpools reset -> update feeds (newTxs is one of the recievers)
// it would deadlock with this cycle a.sim.Commit() -> txpool.Sync() -> subpools reset -> update feeds (newTxs is one of the receivers)
// Note: capacity of this channel should be the worst-case estimate of number of transactions all arriving simultaneously to the pool
newTxs = make(chan core.NewTxsEvent, 15)
sub = a.sim.eth.TxPool().SubscribeTransactions(newTxs, true)
Expand Down

0 comments on commit 64ea2d1

Please sign in to comment.