Skip to content

Commit 86d1778

Browse files
holimanlightclient
andcommitted
Apply suggestions from code review
Co-authored-by: lightclient <[email protected]>
1 parent d06e2bb commit 86d1778

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/txpool/txpool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func (p *TxPool) loop(head *types.Header, chain BlockChain) {
200200
resetDone = make(chan *types.Header)
201201

202202
resetForced bool // Whether a forced reset was requested, only used in simulator mode
203-
resetWaiter chan error // Channel waitinf on a forced reset, only used in simulator mode
203+
resetWaiter chan error // Channel waiting on a forced reset, only used in simulator mode
204204
)
205205
var errc chan error
206206
for errc == nil {

eth/catalyst/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ func (api *ConsensusAPI) forkchoiceUpdated(update engine.ForkchoiceStateV1, payl
374374
if api.localBlocks.has(id) {
375375
return valid(&id), nil
376376
}
377-
// If the beacon chain is ran by a simulator, then transaction inserion,
377+
// If the beacon chain is ran by a simulator, then transaction insertion,
378378
// block insertion and block production will happen without any timing
379379
// delay between them. This will cause flaky simulator executions due to
380380
// the transaction pool running its internal reset operation on a back-

0 commit comments

Comments
 (0)