Skip to content

Commit

Permalink
update check to explicitly check for version 3
Browse files Browse the repository at this point in the history
  • Loading branch information
marshacb committed Jun 12, 2024
1 parent 8255815 commit 1e7e6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createXcmTypes/RelayToBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const RelayToBridge: ICreateXcmType = {
let multiAsset: FungibleStrAssetType;

const amount = amounts[0];
if (xcmVersion < 4) {
if (xcmVersion === 3) {
multiAsset = {
fun: {
Fungible: amount,
Expand Down

0 comments on commit 1e7e6a2

Please sign in to comment.