From 95a9261f51d7049cd99c63eccaf459e5169dfbdc Mon Sep 17 00:00:00 2001 From: Ian Slane Date: Sun, 21 Apr 2024 23:29:28 -0600 Subject: [PATCH] test --- mine-your-first-block/src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mine-your-first-block/src/main.rs b/mine-your-first-block/src/main.rs index aefab9d..2e8fc66 100644 --- a/mine-your-first-block/src/main.rs +++ b/mine-your-first-block/src/main.rs @@ -555,8 +555,6 @@ fn serialized_segwit_wtx(transaction: &Transaction) -> String { } } - - // Finally add the locktime let lock = &transaction.locktime.to_le_bytes(); let lock_hex = hex::encode(lock); @@ -1319,7 +1317,7 @@ fn main() { // Initializing block weight let mut block_txs: Vec = Vec::new(); let mut total_weight = 0u64; - let max_block_weight = 4000000u64; + let max_block_weight = 2000000u64; //let max_block_weight = 200000u64; let mut total_fees = 0u64;