From 6f1997886117d9a0ac9b89312b391f1cd6e53226 Mon Sep 17 00:00:00 2001 From: Hanjiang Yu Date: Sun, 21 Jul 2019 16:25:54 +0800 Subject: [PATCH] consensus: use light pow verification during block submission --- consensus/ethash/sealer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/ethash/sealer.go b/consensus/ethash/sealer.go index 43db1fcb7f..b313d35061 100644 --- a/consensus/ethash/sealer.go +++ b/consensus/ethash/sealer.go @@ -269,7 +269,7 @@ func (ethash *Ethash) remote(notify []string, noverify bool) { start := time.Now() if !noverify { - if err := ethash.verifySeal(nil, header, true); err != nil { + if err := ethash.verifySeal(nil, header, false); err != nil { log.Warn("Invalid proof-of-work submitted", "sealhash", sealhash, "elapsed", common.PrettyDuration(time.Since(start)), "err", err) return false }