Skip to content

Commit

Permalink
fix: remove bound addresses on account deletion (#4244)
Browse files Browse the repository at this point in the history
  • Loading branch information
dandanlen committed Nov 17, 2023
1 parent f4975c8 commit 8252448
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions state-chain/pallets/cf-funding/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -838,5 +838,7 @@ impl<T: Config> OnKilledAccount<T::AccountId> for Pallet<T> {
fn on_killed_account(account_id: &T::AccountId) {
ActiveBidder::<T>::remove(account_id);
RestrictedBalances::<T>::remove(account_id);
BoundExecutorAddress::<T>::remove(account_id);
BoundRedeemAddress::<T>::remove(account_id);
}
}

0 comments on commit 8252448

Please sign in to comment.