Skip to content

Commit

Permalink
test with both mrl types
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaurello committed Apr 26, 2024
1 parent fb14d16 commit 0eab2f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/utils/src/polkadot/polkadot.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export async function getPolkadotApi(ws: string): Promise<ApiPromise> {
provider: new WsProvider(ws),
types: {
[MRLTypes.XcmRoutingUserAction]: {
destination: MRLTypes.XcmVersionedLocation,
destination:
MRLTypes.XcmVersionedLocation || MRLTypes.XcmVersionedMultiLocation,
},
[MRLTypes.VersionedUserAction]: {
_enum: { V1: MRLTypes.XcmRoutingUserAction },
Expand Down

0 comments on commit 0eab2f6

Please sign in to comment.