diff --git a/libs/coin-modules/coin-xrp/src/bridge/synchronization.test.ts b/libs/coin-modules/coin-xrp/src/bridge/synchronization.test.ts index b8eccbe14193..1bdda1587282 100644 --- a/libs/coin-modules/coin-xrp/src/bridge/synchronization.test.ts +++ b/libs/coin-modules/coin-xrp/src/bridge/synchronization.test.ts @@ -1,8 +1,8 @@ -import { Account, SyncConfig } from "@ledgerhq/types-live"; -import { getAccountShape } from "./synchronization"; -import { AccountShapeInfo } from "@ledgerhq/coin-framework/lib/bridge/jsHelpers"; +import { AccountShapeInfo } from "@ledgerhq/coin-framework/bridge/jsHelpers"; import { getCryptoCurrencyById } from "@ledgerhq/cryptoassets/index"; +import { Account, SyncConfig } from "@ledgerhq/types-live"; import BigNumber from "bignumber.js"; +import { getAccountShape } from "./synchronization"; const mockGetServerInfos = jest.fn().mockResolvedValue({ info: { diff --git a/libs/coin-modules/coin-xrp/src/bridge/synchronization.ts b/libs/coin-modules/coin-xrp/src/bridge/synchronization.ts index b42f62191fa9..e396d5b27f3b 100644 --- a/libs/coin-modules/coin-xrp/src/bridge/synchronization.ts +++ b/libs/coin-modules/coin-xrp/src/bridge/synchronization.ts @@ -1,12 +1,12 @@ -import BigNumber from "bignumber.js"; -import { Operation } from "@ledgerhq/types-live"; import { encodeAccountId } from "@ledgerhq/coin-framework/account/index"; import { GetAccountShape, mergeOps } from "@ledgerhq/coin-framework/bridge/jsHelpers"; -import { getAccountInfo, getServerInfos } from "../network"; +import { encodeOperationId } from "@ledgerhq/coin-framework/operation"; +import { Operation } from "@ledgerhq/types-live"; +import BigNumber from "bignumber.js"; import { listOperations, parseAPIValue } from "../logic"; -import { encodeOperationId } from "@ledgerhq/coin-framework/lib/operation"; -import { AccountInfo } from "../types"; +import { getAccountInfo, getServerInfos } from "../network"; import { ServerInfoResponse } from "../network/types"; +import { AccountInfo } from "../types"; export const getAccountShape: GetAccountShape = async info => { const { address, initialAccount, currency, derivationMode } = info;