Skip to content

Commit

Permalink
remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
HardhatChad committed Mar 22, 2024
1 parent d313731 commit 9049b15
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/miner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,11 @@ pub fn find_next_hash(hash: KeccakHash, difficulty: KeccakHash, signer: Pubkey)
signer.as_ref(),
nonce.to_le_bytes().as_slice(),
]);
if nonce % 10_000 == 0 {
log::info!("Nonce: {:?}", nonce);
}
if next_hash.le(&difficulty) {
break;
}
nonce += 1;
}
log::info!("Got mining result: {:?}", next_hash);
MiningResult {
hash: next_hash,
nonce,
Expand Down

0 comments on commit 9049b15

Please sign in to comment.