Skip to content

Commit

Permalink
chore: Remove unwanted comments
Browse files Browse the repository at this point in the history
  • Loading branch information
humblenginr committed Apr 10, 2024
1 parent b8b6eda commit d1b3453
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mining/mining.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ func findNonce(candidateBlock Block) uint32 {
hash := [32]byte(utils.DoubleHash(w.Bytes()))


fmt.Printf("Target Value: %d\n", NbitsToTarget(candidateBlock.BlockHeader.Bits))
fmt.Printf("Hash Value: %d\n", HashToBig(&hash))
// fmt.Printf("Target Value: %d\n", NbitsToTarget(candidateBlock.BlockHeader.Bits))
// fmt.Printf("Hash Value: %d\n", HashToBig(&hash))

// compare with difficulty target
if HashToBig(&hash).Cmp(NbitsToTarget(nBits)) <= 0 {
Expand Down

0 comments on commit d1b3453

Please sign in to comment.