From eb8ae155f54c0fef3dafa0259e6714eb99f2b0e5 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 1 Sep 2023 09:54:50 -0500 Subject: [PATCH] miner: Support BLAKE3 mining. --- cmd/miner/cpuminer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/miner/cpuminer.go b/cmd/miner/cpuminer.go index f81771f1..53f190f1 100644 --- a/cmd/miner/cpuminer.go +++ b/cmd/miner/cpuminer.go @@ -148,7 +148,7 @@ func (m *CPUMiner) solveBlock(ctx context.Context, headerB []byte, target *big.R // A valid submission is generated when the block hash is less // than the pool target of the client. - hash := header.BlockHash() + hash := header.PowHashV2() hashNum.SetInt(standalone.HashToBig(&hash)) hashesCompleted++