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/refresh.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/refresh.ts')
-rw-r--r-- | packages/taler-wallet-core/src/refresh.ts | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/refresh.ts b/packages/taler-wallet-core/src/refresh.ts index f139208be..4c3bb493a 100644 --- a/packages/taler-wallet-core/src/refresh.ts +++ b/packages/taler-wallet-core/src/refresh.ts @@ -81,18 +81,15 @@ import { CoinSourceType, DenominationRecord, RefreshCoinStatus, + RefreshGroupPerExchangeInfo, RefreshGroupRecord, RefreshOperationStatus, -} from "./db.js"; -import { fetchFreshExchange } from "./exchanges.js"; -import { - getCandidateWithdrawalDenomsTx, - RefreshGroupPerExchangeInfo, RefreshSessionRecord, timestampPreciseToDb, WalletDbReadOnlyTransaction, WalletDbReadWriteTransaction, -} from "./index.js"; +} from "./db.js"; +import { fetchFreshExchange } from "./exchanges.js"; import { EXCHANGE_COINS_LOCK, InternalWalletState, @@ -104,6 +101,7 @@ import { import { assertUnreachable } from "./util/assertUnreachable.js"; import { selectWithdrawalDenominations } from "./util/coinSelection.js"; import { checkDbInvariant } from "./util/invariants.js"; +import { getCandidateWithdrawalDenomsTx } from "./withdraw.js"; const logger = new Logger("refresh.ts"); |