aboutsummaryrefslogtreecommitdiffstats
path: root/src/handlers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/handlers.rs')
-rw-r--r--src/handlers.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/handlers.rs b/src/handlers.rs
index e31a4ad..736ad29 100644
--- a/src/handlers.rs
+++ b/src/handlers.rs
@@ -553,6 +553,7 @@ pub async fn propose_block(
553 let coinbase = pending_transactions.get(&new_block.transaction_list[0]).unwrap(); 553 let coinbase = pending_transactions.get(&new_block.transaction_list[0]).unwrap();
554 let mut coinbase_user = users_store.get_mut(&coinbase.source).unwrap(); 554 let mut coinbase_user = users_store.get_mut(&coinbase.source).unwrap();
555 coinbase_user.balance += BLOCK_REWARD; 555 coinbase_user.balance += BLOCK_REWARD;
556 debug!("{} block reward went to {:?} for mining the block", BLOCK_REWARD, coinbase_user);
556 557
557 let mut holding: HashMap<String, Transaction> = HashMap::new(); 558 let mut holding: HashMap<String, Transaction> = HashMap::new();
558 559