Skip to content

Commit

Permalink
chore: add log
Browse files Browse the repository at this point in the history
  • Loading branch information
irrun committed Jun 5, 2024
1 parent 299cbfe commit a83c8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ func (w *worker) commitWork(interruptCh chan int32, timestamp int64) {

// do not build work if not register to the coinbase
if !w.bidder.isRegistered(coinbase) {
log.Warn("Refusing to mine with unregistered validator", "number", currentBlock.Number.Int64(), "coinbase", coinbase)
log.Warn("Refusing to mine with unregistered validator", "number", currentBlock.Number.Int64()+1g, "coinbase", coinbase)

Check failure on line 1199 in miner/worker.go

View workflow job for this annotation

GitHub Actions / Build Release (1.21.x, macos-latest)

syntax error: unexpected g in argument list; possibly missing comma or )
return
}

Expand Down

0 comments on commit a83c8bd

Please sign in to comment.