Skip to content

Commit 83e0304

Browse files
committed
update comments
1 parent dba578f commit 83e0304

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

xtokens/src/lib.rs

+7-6
Original file line numberDiff line numberDiff line change
@@ -543,12 +543,13 @@ pub mod module {
543543
)?;
544544

545545
// Second xcm send to dest chain.
546-
// Current not ensure xcm order delivery. if second xcm is first executed before
547-
// first xcm, then second xcm may failed because of sibling parachain account
548-
// don't have enough fee to withdraw, but we can pre-fund some amount to sibling
549-
// parachain sovereign account to fix this case. as first xcm executed later on,
550-
// the sibling sovereign parachain account get top up. and next transaction will
551-
// succeed even though second xcm is executed before first xcm.
546+
// Current not ensure xcm order delivery. if second xcm is executed before first
547+
// xcm, then second xcm may failed because of sibling parachain account don't
548+
// have enough fee to withdraw. we can pre-fund some amount to sibling parachain
549+
// sovereign account to fix this issue. when first xcm executed later on, the
550+
// sibling sovereign parachain account is deposit. and next transaction will
551+
// succeed even though second xcm is executed before first xcm if user fee is
552+
// less than parachain sovereign account balance.
552553
Self::send_xcm(
553554
origin_location,
554555
assets_to_dest,

0 commit comments

Comments
 (0)