Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
slanesuke committed Apr 22, 2024
1 parent 87bfa6e commit b1280ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mine-your-first-block/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,7 @@ fn main() {
let cb_txid_bytes = hex::decode(serialized_cb_tx_for_txid).unwrap();
let coinbase_txid = double_sha256(cb_txid_bytes.clone());
let mut coinbase_txid_le = coinbase_txid.to_vec();
//coinbase_txid_le.reverse();
coinbase_txid_le.reverse();
let coinbase_txid = hex::encode(coinbase_txid_le);

// Insert the coinbase transaction at the beginning of block_txs
Expand Down

0 comments on commit b1280ce

Please sign in to comment.