From 08e4d4982f7db91be25c659227176e0185efebed Mon Sep 17 00:00:00 2001 From: Lazy Nina Date: Thu, 24 Oct 2024 15:27:45 -0400 Subject: [PATCH] updates to support calling header.Hash less --- routes/miner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/miner.go b/routes/miner.go index 6bcd3af2..8a911cf6 100644 --- a/routes/miner.go +++ b/routes/miner.go @@ -198,7 +198,7 @@ func (fes *APIServer) SubmitBlock(ww http.ResponseWriter, req *http.Request) { // The optimal solution is to check signatures in a way that doesn't acquire the // ChainLock, which is what Bitcoin Core does. isMainChain, isOrphan, _, err := fes.blockchain.ProcessBlock( - blockFound, true /*verifySignatures*/) + blockFound, nil, true /*verifySignatures*/) glog.V(1).Infof("Called ProcessBlock/ConnectBlock: isMainChain=(%v), isOrphan=(%v), err=(%v)", isMainChain, isOrphan, err) if err != nil {