From d92e5c0f90464ff426357e98ac41b3664c527b4c Mon Sep 17 00:00:00 2001 From: Michael Ira Krufky Date: Mon, 5 Aug 2019 08:07:32 -0400 Subject: [PATCH] fix ethash.go:133: Sprintf format %d reads arg #2, but call has only 1 arg --- ethash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethash.go b/ethash.go index 21c10c87..837a16c1 100644 --- a/ethash.go +++ b/ethash.go @@ -130,7 +130,7 @@ func (l *Light) Verify(block Block) bool { // to prevent DOS attacks. blockNum := block.NumberU64() if blockNum >= epochLength*2048 { - log.Debug(fmt.Sprintf("block number %d too high, limit is %d", epochLength*2048)) + log.Debug(fmt.Sprintf("block number %d too high, limit is %d", blockNum, epochLength*2048)) return false }