diff options
author | Florian Dold <florian@dold.me> | 2024-02-21 13:01:23 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-02-21 13:01:23 +0100 |
commit | 612b85c18fc17af412d08e075e1fddaa67aa7bf0 (patch) | |
tree | 2209cb052c94f70145d33271b7711e39728ad72b /packages/taler-wallet-core/src/refresh.ts | |
parent | 06635c195816121ed7d90cf7bd3834850b674564 (diff) | |
download | wallet-core-612b85c18fc17af412d08e075e1fddaa67aa7bf0.tar.xz |
move helpers to util
Diffstat (limited to 'packages/taler-wallet-core/src/refresh.ts')
-rw-r--r-- | packages/taler-wallet-core/src/refresh.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/refresh.ts b/packages/taler-wallet-core/src/refresh.ts index 8f3a5cab5..3b75ae2f3 100644 --- a/packages/taler-wallet-core/src/refresh.ts +++ b/packages/taler-wallet-core/src/refresh.ts @@ -20,7 +20,9 @@ import { AmountJson, Amounts, amountToPretty, + assertUnreachable, CancellationToken, + checkDbInvariant, codecForExchangeMeltResponse, codecForExchangeRevealResponse, CoinPublicKeyString, @@ -60,6 +62,7 @@ import { readSuccessResponseJsonOrThrow, readUnexpectedResponseDetails, } from "@gnu-taler/taler-util/http"; +import { selectWithdrawalDenominations } from "./coinSelection.js"; import { constructTaskIdentifier, makeCoinAvailable, @@ -95,9 +98,6 @@ import { constructTransactionIdentifier, notifyTransition, } from "./transactions.js"; -import { assertUnreachable } from "./util/assertUnreachable.js"; -import { selectWithdrawalDenominations } from "./util/coinSelection.js"; -import { checkDbInvariant } from "./util/invariants.js"; import { EXCHANGE_COINS_LOCK, InternalWalletState } from "./wallet.js"; import { getCandidateWithdrawalDenomsTx } from "./withdraw.js"; |