Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Replace AllCounted with All
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Apr 11, 2024
1 parent 7980ffc commit f28b8db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bridges/snowbridge/primitives/router/src/inbound/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ where
// Buy execution on target.
BuyExecution { fees: dest_para_fee_asset, weight_limit: Unlimited },
// Deposit both asset and fees to beneficiary.
DepositAsset { assets: Wild(AllCounted(2u32)), beneficiary },
DepositAsset { assets: Wild(All), beneficiary },
// Forward message id to destination parachain.
SetTopic(message_id.into()),
]
Expand All @@ -292,7 +292,7 @@ where
// Deposit both asset and fees to beneficiary so the fees will not get
// trapped. Another benefit is when fees left more than ED could be used to
// create the beneficiary account in case it does not exist.
DepositAsset { assets: Wild(AllCounted(2u32)), beneficiary },
DepositAsset { assets: Wild(All), beneficiary },
]);
},
}
Expand Down

0 comments on commit f28b8db

Please sign in to comment.