From c1f882d22693fe99734cd9ac30cdc689bd9fbe02 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Mon, 7 Aug 2023 14:42:22 +0200 Subject: [PATCH] Fix another assert --- xcm/pallet-xcm/src/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcm/pallet-xcm/src/tests.rs b/xcm/pallet-xcm/src/tests.rs index f1d9798d6f13..d560c9099e73 100644 --- a/xcm/pallet-xcm/src/tests.rs +++ b/xcm/pallet-xcm/src/tests.rs @@ -583,9 +583,9 @@ fn reserve_transfer_assets_with_paid_router_works() { vec![( Parachain(PARA_ID).into(), Xcm(vec![ - ReserveAssetDeposited((Parent, SEND_AMOUNT).into()), + ReserveAssetDeposited((Parent, SEND_AMOUNT - xcm_router_fee_amount).into()), ClearOrigin, - buy_limited_execution((Parent, SEND_AMOUNT), Weight::from_parts(4000, 4000)), + buy_limited_execution((Parent, SEND_AMOUNT - xcm_router_fee_amount), Weight::from_parts(4000, 4000)), DepositAsset { assets: AllCounted(1).into(), beneficiary: dest }, ]), )]