Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Wozacosta committed Aug 30, 2024
1 parent bc478eb commit 595c113
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions libs/coin-modules/coin-cosmos/src/bridge/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ import {
} from "../serialization";
import { buildSignOperation } from "../signOperation";
import { getAccountShape } from "../synchronisation";
import type {
CosmosAccount,
Transaction,
TransactionStatus,
} from "../types";
import type { CosmosAccount, Transaction, TransactionStatus } from "../types";
import { CosmosSigner } from "../types/signer";
import { updateTransaction } from "../updateTransaction";
import { getPreloadStrategy, hydrate, preload } from "./preload";
Expand Down Expand Up @@ -79,7 +75,10 @@ function buildAccountBridge(
};
}

export function createBridges(signerContext: SignerContext<CosmosSigner>, coinConfig: CoinConfig<CosmosCoinConfig>) {
export function createBridges(
signerContext: SignerContext<CosmosSigner>,
coinConfig: CoinConfig<CosmosCoinConfig>,
) {
cosmosCoinConfig.setCoinConfig(coinConfig);
return {
currencyBridge: buildCurrencyBridge(signerContext),
Expand Down
2 changes: 1 addition & 1 deletion libs/coin-modules/coin-cosmos/src/bridge/preload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ export const hydrate = (
const cosmosValidatorsManager = new CosmosValidatorsManager(getCryptoCurrencyById(currency.id));
cosmosValidatorsManager.hydrateValidators(validators);
setCosmosPreloadData(currency.id, asSafeCosmosPreloadData(data));
};
};
2 changes: 1 addition & 1 deletion libs/coin-modules/coin-cosmos/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ import buildCoinConfig, { type CurrencyConfig } from "@ledgerhq/coin-framework/c

export type CosmosCoinConfig = CurrencyConfig & CosmosConfig;
const coinConfig = buildCoinConfig<CosmosCoinConfig>();
export default coinConfig;
export default coinConfig;

0 comments on commit 595c113

Please sign in to comment.