Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
slanesuke committed Apr 12, 2024
1 parent 48fc9e3 commit 94b440a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mine-your-first-block/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ fn process_mempool(mempool_path: &str) -> io::Result<Vec<TransactionForProcessin
continue;
}

println!("Transaction is valid for txid: {}", txid);
//println!("Transaction is valid for txid: {}", txid);

// Push the txid and fee to the valid_txs vec
valid_txs.push(TransactionForProcessing {
Expand Down Expand Up @@ -984,7 +984,7 @@ fn main() {

// Calculate the hash of the block header
let hash = calculate_hash(serialized_block_header);
println!("Nonce {}, Hash{}", nonce, hash);
//println!("Nonce {}, Hash{}", nonce, hash);

// Check if the hash meets the target
if hash_meets_difficulty_target(&hash) {
Expand Down

0 comments on commit 94b440a

Please sign in to comment.