diff --git a/mine-your-first-block/src/main.rs b/mine-your-first-block/src/main.rs index 5e073b7..27c1571 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 = hex::decode(witness_reserved_value).unwrap(); let mut commitment_payload = Vec::new();