From 5cb7ce153fff413c7c5a6c36691e15d9b8ac368e Mon Sep 17 00:00:00 2001 From: Ian Slane Date: Sun, 21 Apr 2024 15:16:25 -0600 Subject: [PATCH] test --- mine-your-first-block/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mine-your-first-block/src/main.rs b/mine-your-first-block/src/main.rs index 9ce8437..5d1e622 100644 --- a/mine-your-first-block/src/main.rs +++ b/mine-your-first-block/src/main.rs @@ -146,7 +146,7 @@ fn create_coinbase_tx(total_tx_fee: u64, mut witness_root_vec: Vec) -> T let witness_root_hash = get_merkle_root(witness_root_vec); let mut witness_root_hash_bytes = hex::decode(witness_root_hash).unwrap(); - //witness_root_hash_bytes.reverse(); // Reverse to match endianness maybe dont need this?? + witness_root_hash_bytes.reverse(); // Reverse to match endianness maybe dont need this?? let reserved_value = vec![0; 32]; // 32 bytes of zeros let mut commitment_payload = Vec::new();