Skip to content

Commit

Permalink
test relay to relay vs local
Browse files Browse the repository at this point in the history
  • Loading branch information
marshacb committed Oct 19, 2023
1 parent 81c69a9 commit 22cbd0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/AssetTransferApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ export class AssetTransferApi {
return Direction.ParaToPara;
}

// throw Error('Could not establish a xcm transaction direction');
throw Error('Could not establish a xcm transaction direction');
}

/**
Expand Down
3 changes: 1 addition & 2 deletions src/createXcmTypes/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright 2023 Parity Technologies (UK) Ltd.

import { Direction } from '../types';
import { ParaToPara } from './ParaToPara';
import { ParaToSystem } from './ParaToSystem';
import { RelayToPara } from './RelayToPara';
import { RelayToSystem } from './RelayToSystem';
Expand All @@ -20,7 +19,7 @@ export const createXcmTypes: ICreateXcmTypeLookup = {
RelayToPara,
SystemToRelay,
RelayToSystem,
ParaToPara,
ParaToPara: {} as ICreateXcmType,
ParaToRelay: {} as ICreateXcmType,
ParaToSystem,
};

0 comments on commit 22cbd0b

Please sign in to comment.