Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
  • Loading branch information
sprohaszka-ledger committed May 7, 2024
1 parent 24bb694 commit 5b48fc3
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
7 changes: 6 additions & 1 deletion libs/coin-modules/coin-cardano/src/js-signOperation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ import { OperationType, SignOperationEvent, SignOperationFnSignature } from "@le
import { formatCurrencyUnit } from "@ledgerhq/coin-framework/currencies/index";
import { HashType } from "@stricahq/typhonjs/dist/types";
import { SignerContext } from "@ledgerhq/coin-framework/signer";
import { CardanoAddress, CardanoExtendedPublicKey, CardanoSignature, CardanoSigner } from "./signer";
import {
CardanoAddress,
CardanoExtendedPublicKey,
CardanoSignature,
CardanoSigner,
} from "./signer";

const buildOptimisticOperation = (
account: CardanoAccount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
CardanoSignature,
CardanoSigner,
} from "./signer";
import { getBipPath } from "./logic";

jest.mock("./buildSubAccounts");
jest.mock("./api/getTransactions");
jest.mock("./api/getNetworkInfo");
Expand Down
6 changes: 5 additions & 1 deletion libs/coin-modules/coin-cardano/src/speculos-deviceActions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import type { DeviceAction } from "@ledgerhq/coin-framework/bot/types";
import type { Transaction } from "./types";
import { getAccountStakeCredential, getBipPathString } from "./logic";
import { deviceActionFlow, formatDeviceAmount, SpeculosButton } from "@ledgerhq/coin-framework/bot/specs";
import {
deviceActionFlow,
formatDeviceAmount,
SpeculosButton,
} from "@ledgerhq/coin-framework/bot/specs";

export const acceptTransaction: DeviceAction<Transaction, any> = deviceActionFlow({
steps: [
Expand Down
9 changes: 5 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5b48fc3

Please sign in to comment.