diff --git a/core/txpool/txpool.go b/core/txpool/txpool.go index 0fd67a011d..7ec9dbebda 100644 --- a/core/txpool/txpool.go +++ b/core/txpool/txpool.go @@ -200,7 +200,7 @@ func (p *TxPool) loop(head *types.Header, chain BlockChain) { resetDone = make(chan *types.Header) resetForced bool // Whether a forced reset was requested, only used in simulator mode - resetWaiter chan error // Channel waitinf on a forced reset, only used in simulator mode + resetWaiter chan error // Channel waiting on a forced reset, only used in simulator mode ) var errc chan error for errc == nil { diff --git a/eth/catalyst/api.go b/eth/catalyst/api.go index 6ea3823c12..f02b5f3622 100644 --- a/eth/catalyst/api.go +++ b/eth/catalyst/api.go @@ -374,7 +374,7 @@ func (api *ConsensusAPI) forkchoiceUpdated(update engine.ForkchoiceStateV1, payl if api.localBlocks.has(id) { return valid(&id), nil } - // If the beacon chain is ran by a simulator, then transaction inserion, + // If the beacon chain is ran by a simulator, then transaction insertion, // block insertion and block production will happen without any timing // delay between them. This will cause flaky simulator executions due to // the transaction pool running its internal reset operation on a back-