diff --git a/mine-your-first-block/src/main.rs b/mine-your-first-block/src/main.rs index 9437bad..694e556 100644 --- a/mine-your-first-block/src/main.rs +++ b/mine-your-first-block/src/main.rs @@ -139,7 +139,7 @@ fn create_coinbase_tx(total_tx_fee: u64) -> Transaction { fn construct_block_header(nonce: u32, merkle_root: String) -> BlockHeader { let mut block_header = BlockHeader{ - version: 7, + version: 2, prev_block_hash: "".to_string(), merkle_root: merkle_root.to_string(), timestamp: 0, diff --git a/output.txt b/output.txt deleted file mode 100644 index 1c0c3e1..0000000 --- a/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -+------------------------------------------------------------------+ -| Block header place holder for now | -+------------------------------------------------------------------+ -| Coinbase tx place holder | -+------------------------------------------------------------------+ -| txid1 test | -| txid2 test | -| txid3 testtttt | -+------------------------------------------------------------------+