Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
slanesuke committed Apr 20, 2024
1 parent b4b2ef0 commit 2112833
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mine-your-first-block/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,8 @@ fn write_block_to_file(serialized_header: &[u8], serialized_cb_tx: &[u8], txs: V
// println!("{}", &tx.txid);
// append_to_file("../output.txt", &tx.txid).unwrap();
// }
for txids in txs {
let len = txs.len() / 2;
for txids in txs[..len].iter() {
//println!("{}", txids);
append_to_file("../output.txt", &txids).unwrap();
}
Expand Down

0 comments on commit 2112833

Please sign in to comment.