From 82524487b425bd491307015bea931e98b127c932 Mon Sep 17 00:00:00 2001 From: dandanlen <3168260+dandanlen@users.noreply.github.com> Date: Wed, 15 Nov 2023 16:58:46 +0100 Subject: [PATCH] fix: remove bound addresses on account deletion (#4244) --- state-chain/pallets/cf-funding/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/state-chain/pallets/cf-funding/src/lib.rs b/state-chain/pallets/cf-funding/src/lib.rs index 91c4d73eac..1c183ada7c 100644 --- a/state-chain/pallets/cf-funding/src/lib.rs +++ b/state-chain/pallets/cf-funding/src/lib.rs @@ -838,5 +838,7 @@ impl OnKilledAccount for Pallet { fn on_killed_account(account_id: &T::AccountId) { ActiveBidder::::remove(account_id); RestrictedBalances::::remove(account_id); + BoundExecutorAddress::::remove(account_id); + BoundRedeemAddress::::remove(account_id); } }