From 8b81b1306d018018a88c37574e9a1a682e5ae04b Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Thu, 18 Nov 2021 23:05:27 +0100 Subject: [PATCH] fix pallet-xcm extrinsic doc comments (#4317) --- xcm/pallet-xcm/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xcm/pallet-xcm/src/lib.rs b/xcm/pallet-xcm/src/lib.rs index 5a3bfe64cf14..3cb75153b1f6 100644 --- a/xcm/pallet-xcm/src/lib.rs +++ b/xcm/pallet-xcm/src/lib.rs @@ -484,8 +484,8 @@ pub mod pallet { /// an `AccountId32` value. /// - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the /// `dest` side. May not be empty. - /// - `dest_weight`: Equal to the total weight on `dest` of the XCM message - /// `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`. + /// - `fee_asset_item`: The index into `assets` of the item which should be used to pay + /// fees. #[pallet::weight({ let maybe_assets: Result = (*assets.clone()).try_into(); let maybe_dest: Result = (*dest.clone()).try_into(); @@ -721,8 +721,8 @@ pub mod pallet { /// an `AccountId32` value. /// - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the /// `dest` side. May not be empty. - /// - `dest_weight`: Equal to the total weight on `dest` of the XCM message - /// `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`. + /// - `fee_asset_item`: The index into `assets` of the item which should be used to pay + /// fees. /// - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. #[pallet::weight({ let maybe_assets: Result = (*assets.clone()).try_into();