diff --git a/substrate/frame/assets/src/functions.rs b/substrate/frame/assets/src/functions.rs index 3bf704d3124f..743b4cf0b47b 100644 --- a/substrate/frame/assets/src/functions.rs +++ b/substrate/frame/assets/src/functions.rs @@ -814,7 +814,9 @@ impl, I: 'static> Pallet { } else if let Some(deposit) = v.reason.take_deposit() { T::Currency::unreserve(&who, deposit); } - if let Remove = Self::dead_account(id, &who, &mut details, &v.reason, false)? { + if let Remove = + Self::dead_account(id.clone(), &who, &mut details, &v.reason, false)? + { Account::::remove(&id, &who); dead_accounts.push(who); } else {