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/pay-peer-push-debit.ts | |
parent | 06635c195816121ed7d90cf7bd3834850b674564 (diff) | |
download | wallet-core-612b85c18fc17af412d08e075e1fddaa67aa7bf0.tar.gz wallet-core-612b85c18fc17af412d08e075e1fddaa67aa7bf0.tar.bz2 wallet-core-612b85c18fc17af412d08e075e1fddaa67aa7bf0.zip |
move helpers to util
Diffstat (limited to 'packages/taler-wallet-core/src/pay-peer-push-debit.ts')
-rw-r--r-- | packages/taler-wallet-core/src/pay-peer-push-debit.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/pay-peer-push-debit.ts b/packages/taler-wallet-core/src/pay-peer-push-debit.ts index 098602ee0..1bb3b8772 100644 --- a/packages/taler-wallet-core/src/pay-peer-push-debit.ts +++ b/packages/taler-wallet-core/src/pay-peer-push-debit.ts @@ -38,6 +38,8 @@ import { TransactionMinorState, TransactionState, TransactionType, + assertUnreachable, + checkLogicInvariant, encodeCrock, getRandomBytes, j2s, @@ -47,6 +49,7 @@ import { readSuccessResponseJsonOrThrow, readTalerErrorResponse, } from "@gnu-taler/taler-util/http"; +import { PeerCoinRepair, selectPeerCoins } from "./coinSelection.js"; import { PendingTaskType, TaskId, @@ -75,9 +78,6 @@ import { constructTransactionIdentifier, notifyTransition, } from "./transactions.js"; -import { assertUnreachable } from "./util/assertUnreachable.js"; -import { PeerCoinRepair, selectPeerCoins } from "./util/coinSelection.js"; -import { checkLogicInvariant } from "./util/invariants.js"; import { InternalWalletState } from "./wallet.js"; const logger = new Logger("pay-peer-push-debit.ts"); |