From 31642d22dc642f875be197d9c747c54701a9ecaa Mon Sep 17 00:00:00 2001 From: Ian Slane Date: Sun, 14 Apr 2024 15:03:07 -0600 Subject: [PATCH] test block --- mine-your-first-block/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mine-your-first-block/src/main.rs b/mine-your-first-block/src/main.rs index edda9bb..b84b76a 100644 --- a/mine-your-first-block/src/main.rs +++ b/mine-your-first-block/src/main.rs @@ -933,7 +933,7 @@ fn main() { for tx in valid_tx_clone { let tx_weight = calculate_transaction_weight(&tx.transaction); - if total_weight + tx_weight > 3000000 { + if total_weight + tx_weight > 1000000 { // If the block weight exceeds the limit, break the loop break; }