diff --git a/mine-your-first-block/src/main.rs b/mine-your-first-block/src/main.rs index a7d8eaf..e95ce60 100644 --- a/mine-your-first-block/src/main.rs +++ b/mine-your-first-block/src/main.rs @@ -25,7 +25,7 @@ fn main() { // My calculate_transaction_weight function is off so I increased the weight limit for a quick fix // FIX calc_tx_weight - let max_block_weight = 5500000u64; + let max_block_weight = 600000u64; let mut total_fees = 0u64; // Sort transactions by fee in descending order before processing diff --git a/mine-your-first-block/src/validation.rs b/mine-your-first-block/src/validation.rs index 5cf9781..d5bdf59 100644 --- a/mine-your-first-block/src/validation.rs +++ b/mine-your-first-block/src/validation.rs @@ -67,7 +67,7 @@ pub fn process_mempool(mempool_path: &str) -> io::Result