Skip to content

Commit

Permalink
[XRP] Undesired lib path import (#8312)
Browse files Browse the repository at this point in the history
fix(xrp): undesired lib path import

Signed-off-by: Stéphane Prohaszka <[email protected]>
  • Loading branch information
sprohaszka-ledger authored Nov 6, 2024
1 parent 4120120 commit 02b3d81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions libs/coin-modules/coin-xrp/src/bridge/synchronization.test.ts
Original file line number Diff line number Diff line change
@@ -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: {
Expand Down
10 changes: 5 additions & 5 deletions libs/coin-modules/coin-xrp/src/bridge/synchronization.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 02b3d81

Please sign in to comment.