Skip to content

Commit

Permalink
miner: Support BLAKE3 mining.
Browse files Browse the repository at this point in the history
  • Loading branch information
davecgh committed Sep 1, 2023
1 parent 54330fe commit eb8ae15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/miner/cpuminer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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++

Expand Down

0 comments on commit eb8ae15

Please sign in to comment.