Skip to content

Commit 50e16eb

Browse files
authored
chore: minor improvement for docs (#13428)
Signed-off-by: efcking <[email protected]>
1 parent 0b3d85f commit 50e16eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

miner/miner.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ func (m *Miner) niceSleep(d time.Duration) bool {
198198
// 6a. If we mined a block, we update our state and push it out to the network
199199
// via gossipsub.
200200
// 6b. If we didn't mine a block, we consider this to be a nil round on top of
201-
// the mining base we selected. If other miner or miners on the network
201+
// the mining base we selected. If other miners on the network
202202
// were eligible to mine, we will receive their blocks via gossipsub and
203203
// we will select that tipset on the next iteration of the loop, thus
204204
// discarding our null round.
@@ -255,7 +255,7 @@ minerLoop:
255255
}
256256

257257
// TODO: need to change the orchestration here. the problem is that
258-
// we are waiting *after* we enter this loop and selecta mining
258+
// we are waiting *after* we enter this loop and select a mining
259259
// candidate, which is almost certain to change in multiminer
260260
// tests. Instead, we should block before entering the loop, so
261261
// that when the test 'MineOne' function is triggered, we pull our

0 commit comments

Comments
 (0)