From fa54e6724f955eded1a26650785424b6d5359863 Mon Sep 17 00:00:00 2001 From: Paul Clark Date: Mon, 27 Oct 2025 17:18:30 +0000 Subject: [PATCH] Don't debit deposits pot twice on stake refund --- modules/accounts_state/src/state.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/accounts_state/src/state.rs b/modules/accounts_state/src/state.rs index 28fb74a9..b50c7de0 100644 --- a/modules/accounts_state/src/state.rs +++ b/modules/accounts_state/src/state.rs @@ -837,7 +837,6 @@ impl State { .unwrap_or(DEFAULT_KEY_DEPOSIT) } }; - self.pots.deposits -= deposit; // Schedule refund self.stake_refunds.push((stake_address.clone(), deposit));