Skip to content

Commit

Permalink
Fix ownership compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
KiChjang committed Jan 27, 2024
1 parent 123c820 commit c4e6fd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion polkadot/xcm/xcm-executor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,8 @@ impl<Config: config::Config> XcmExecutor<Config> {
let mut message_to_weigh =
vec![ReserveAssetDeposited(to_weigh.into()), ClearOrigin];
message_to_weigh.extend(xcm.0.clone().into_iter());
let (_, fee) = validate_send::<Config::XcmSender>(dest, Xcm(message_to_weigh))?;
let (_, fee) =
validate_send::<Config::XcmSender>(dest.clone(), Xcm(message_to_weigh))?;
// set aside fee to be charged by XcmSender
let parked_fee = self.holding.saturating_take(fee.into());

Expand Down

0 comments on commit c4e6fd0

Please sign in to comment.