Skip to content

Commit

Permalink
make eslint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Aug 25, 2023
1 parent bcc0d91 commit 0003e17
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/utils/transactionRouter/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { ApiPromise, WsProvider } from "@polkadot/api";

import ReserveTransfer from "./reserveTransfer";
import { TeleportableRoute, teleportableRoutes } from "./teleportableRoutes";
import TeleportTransfer from "./teleportTransfer";
import TransferAsset from "./transferAsset";
import { Fungible, Receiver, Sender } from "./types";
import { getParaId } from "..";
import IdentityContract from "../../../types/contracts/identity";
import { AccountType } from "../../../types/types-arguments/identity";
import { TeleportableRoute, teleportableRoutes } from "./teleportableRoutes";
import { getParaId } from "..";

// Responsible for handling all the transfer logic.
//
Expand Down
2 changes: 1 addition & 1 deletion src/utils/transactionRouter/reserveTransfer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import { Keyring } from "@polkadot/api";
import { cryptoWaitReady } from "@polkadot/util-crypto";

import { getDestination, getMultiAsset, getTransferBeneficiary } from ".";
import ReserveTransfer from "./reserveTransfer";
import { Fungible, Receiver } from "./types";
import { AccountType } from "../../../types/types-arguments/identity";
import { getDestination, getMultiAsset, getTransferBeneficiary } from ".";

const sr25519Keyring = new Keyring({ type: "sr25519" });
const ecdsaKeyring = new Keyring({ type: "ecdsa" });
Expand Down
3 changes: 1 addition & 2 deletions src/utils/transactionRouter/reserveTransfer.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { ApiPromise } from "@polkadot/api";
import { KeyringPair } from "@polkadot/keyring/types";

import { Fungible, Receiver } from "./types";
import { getParaId } from "..";
import { getDestination, getMultiAsset, getReceiverAccount, getTransferBeneficiary } from ".";
import { Fungible, Receiver } from "./types";

class ReserveTransfer {
// Transfers assets from the sender to the receiver.
Expand Down
3 changes: 2 additions & 1 deletion src/utils/transactionRouter/teleportTransfer.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { ApiPromise } from "@polkadot/api";
import { KeyringPair } from "@polkadot/keyring/types";

import { getDestination, getMultiAsset, getTransferBeneficiary } from ".";
import { Fungible, Receiver } from "./types";
import { getParaId } from "..";
import { getDestination, getMultiAsset, getTransferBeneficiary } from ".";

class TeleportTransfer {
public static async send(
Expand Down

0 comments on commit 0003e17

Please sign in to comment.