aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/util/coinSelection.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-02-19 19:45:26 +0100
committerFlorian Dold <florian@dold.me>2024-02-19 20:07:45 +0100
commite1a7bf4825162b4b95669ae6b4552589f4a64217 (patch)
treec8bdfe19ed9ed120e44d7c4be04a10bcfd1e67ff /packages/taler-wallet-core/src/util/coinSelection.ts
parent0b044475a96ae140754ce478af41fc24424d7cc3 (diff)
downloadwallet-core-e1a7bf4825162b4b95669ae6b4552589f4a64217.tar.xz
wallet-core: better import hygiene, cleanup withdrawals
Diffstat (limited to 'packages/taler-wallet-core/src/util/coinSelection.ts')
-rw-r--r--packages/taler-wallet-core/src/util/coinSelection.ts11
1 files changed, 4 insertions, 7 deletions
diff --git a/packages/taler-wallet-core/src/util/coinSelection.ts b/packages/taler-wallet-core/src/util/coinSelection.ts
index f33891c88..88dd08f63 100644
--- a/packages/taler-wallet-core/src/util/coinSelection.ts
+++ b/packages/taler-wallet-core/src/util/coinSelection.ts
@@ -54,18 +54,15 @@ import {
TalerProtocolTimestamp,
UnblindedSignature,
} from "@gnu-taler/taler-util";
-import { DenominationRecord } from "../db.js";
-import {
- getExchangeWireDetailsInTx,
- isWithdrawableDenom,
- WalletDbReadOnlyTransaction,
-} from "../index.js";
-import { InternalWalletState } from "../internal-wallet-state.js";
import {
getMerchantPaymentBalanceDetails,
getPeerPaymentBalanceDetailsInTx,
} from "../balance.js";
import { getAutoRefreshExecuteThreshold } from "../common.js";
+import { DenominationRecord, WalletDbReadOnlyTransaction } from "../db.js";
+import { getExchangeWireDetailsInTx } from "../exchanges.js";
+import { InternalWalletState } from "../internal-wallet-state.js";
+import { isWithdrawableDenom } from "./denominations.js";
import { checkDbInvariant, checkLogicInvariant } from "./invariants.js";
const logger = new Logger("coinSelection.ts");