From 3b0394eefe9aacfa8b92ecc9e193fa31bb84a648 Mon Sep 17 00:00:00 2001 From: Ori Newman Date: Tue, 8 Jun 2021 15:44:27 +0300 Subject: [PATCH] Skip solving the block if SkipProofOfWork (#1741) --- stability-tests/netsync/node.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stability-tests/netsync/node.go b/stability-tests/netsync/node.go index c271247ac..52a0a4b36 100644 --- a/stability-tests/netsync/node.go +++ b/stability-tests/netsync/node.go @@ -193,7 +193,10 @@ func mineOnTips(client *rpc.Client) (appmessage.RejectReason, error) { if err != nil { return appmessage.RejectReasonNone, err } - mine.SolveBlock(domainBlock) + + if !activeConfig().NetParams().SkipProofOfWork { + mine.SolveBlock(domainBlock) + } return client.SubmitBlock(domainBlock) }