From a38a6db3bb8d2ac0e0c5851638ebc5f05f253327 Mon Sep 17 00:00:00 2001 From: Ian Slane Date: Tue, 16 Apr 2024 14:50:33 -0600 Subject: [PATCH] test --- mine-your-first-block/src/main.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mine-your-first-block/src/main.rs b/mine-your-first-block/src/main.rs index d267a75..773b762 100644 --- a/mine-your-first-block/src/main.rs +++ b/mine-your-first-block/src/main.rs @@ -245,12 +245,8 @@ fn get_merkle_root(txids: Vec) -> String { } // The last hash in the merkle tree // merkle root - // hex::encode(be_txid[0]) + hex::encode(be_txid[0]) - // testin big endan - let merkle_root = be_txid[0].to_vec(); - let big_end = merkle_root.iter().rev().cloned().collect::>(); - hex::encode(big_end.clone()) } fn deserialize_tx(filename: &str) -> Transaction {