Skip to content

Commit

Permalink
changing version number to test
Browse files Browse the repository at this point in the history
  • Loading branch information
slanesuke committed Apr 14, 2024
1 parent df33e06 commit 90c3a54
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 @@ -137,8 +137,8 @@ fn create_coinbase_tx(total_tx_fee: u64) -> Transaction {
fn construct_block_header(valid_tx_vec: Vec<String>, nonce: u32) -> BlockHeader {

let mut block_header = BlockHeader{
version: 0x20000000,
// version: 7,
// version: 0x20000000,
version: 7,
prev_block_hash: "".to_string(),
merkle_root: "".to_string(),
timestamp: 0,
Expand Down

0 comments on commit 90c3a54

Please sign in to comment.