diff options
author | Florian Dold <florian@dold.me> | 2024-02-19 19:45:26 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-02-19 20:07:45 +0100 |
commit | e1a7bf4825162b4b95669ae6b4552589f4a64217 (patch) | |
tree | c8bdfe19ed9ed120e44d7c4be04a10bcfd1e67ff /packages/taler-wallet-core/src/pay-merchant.ts | |
parent | 0b044475a96ae140754ce478af41fc24424d7cc3 (diff) | |
download | wallet-core-e1a7bf4825162b4b95669ae6b4552589f4a64217.tar.gz wallet-core-e1a7bf4825162b4b95669ae6b4552589f4a64217.tar.bz2 wallet-core-e1a7bf4825162b4b95669ae6b4552589f4a64217.zip |
wallet-core: better import hygiene, cleanup withdrawals
Diffstat (limited to 'packages/taler-wallet-core/src/pay-merchant.ts')
-rw-r--r-- | packages/taler-wallet-core/src/pay-merchant.ts | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts index 325bc24a8..15de0571c 100644 --- a/packages/taler-wallet-core/src/pay-merchant.ts +++ b/packages/taler-wallet-core/src/pay-merchant.ts @@ -114,21 +114,18 @@ import { DenominationRecord, PurchaseRecord, PurchaseStatus, - RefundReason, - WalletStoresV1, -} from "./db.js"; -import { - getCandidateWithdrawalDenomsTx, RefundGroupRecord, RefundGroupStatus, RefundItemRecord, RefundItemStatus, + RefundReason, timestampPreciseToDb, timestampProtocolFromDb, timestampProtocolToDb, WalletDbReadOnlyTransaction, WalletDbReadWriteTransaction, -} from "./index.js"; + WalletStoresV1, +} from "./db.js"; import { EXCHANGE_COINS_LOCK, InternalWalletState, @@ -147,6 +144,7 @@ import { import { assertUnreachable } from "./util/assertUnreachable.js"; import { PreviousPayCoins, selectPayCoinsNew } from "./util/coinSelection.js"; import { checkDbInvariant } from "./util/invariants.js"; +import { getCandidateWithdrawalDenomsTx } from "./withdraw.js"; /** * Logger. |