aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers.rs b/src/handlers.rs
index 055ca22..23adffb 100644
--- a/src/handlers.rs
+++ b/src/handlers.rs
@@ -554,7 +554,7 @@ pub async fn propose_block(
554 coinbase_user.balance += BLOCK_REWARD; 554 coinbase_user.balance += BLOCK_REWARD;
555 } 555 }
556 556
557 let holding: HashMap<String, Transaction> = HashMap::new(); 557 let mut holding: HashMap<String, Transaction> = HashMap::new();
558 558
559 // Play out the transactions 559 // Play out the transactions
560 for fingerprint in &new_block.transaction_list { 560 for fingerprint in &new_block.transaction_list {