From 201e1bdfd5a55b5d0607d6398eeb8305b288e322 Mon Sep 17 00:00:00 2001 From: lightclient Date: Mon, 19 Aug 2024 09:12:28 -0600 Subject: [PATCH] eth/catalyst: fix lint --- eth/catalyst/simulated_beacon_api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/catalyst/simulated_beacon_api.go b/eth/catalyst/simulated_beacon_api.go index cd48f23d4e..59ec3bcc91 100644 --- a/eth/catalyst/simulated_beacon_api.go +++ b/eth/catalyst/simulated_beacon_api.go @@ -58,14 +58,14 @@ func (a *simulatedBeaconAPI) loop() { // A background thread which signals to the simulator when to commit // based on messages over doCommit. go func() { - for _ = range doCommit { + for range doCommit { a.sim.Commit() a.sim.eth.TxPool().Sync() // It's worth noting that in case a tx ends up in the pool listed as // "executable", but for whatever reason the miner does not include it in // a block -- maybe the miner is enforcing a higher tip than the pool -- - // this code will spinloop. + // this code will spinloopk. for { if executable, _ := a.sim.eth.TxPool().Stats(); executable == 0 { break