From d1b3453fad3a1b627d85c3d95f2c8afac5e6cb8d Mon Sep 17 00:00:00 2001 From: Nithish Karthik Date: Wed, 10 Apr 2024 18:05:23 +0530 Subject: [PATCH] chore: Remove unwanted comments --- src/mining/mining.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mining/mining.go b/src/mining/mining.go index 80f4fce..0a2d2a0 100644 --- a/src/mining/mining.go +++ b/src/mining/mining.go @@ -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 {