From fda5a0ed87a6473a6b34bd1ac07d5f1d45dfbc19 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 5 Jun 2023 11:45:16 +0200 Subject: wallet-core: restructure p2p impl --- packages/taler-wallet-core/src/operations/testing.ts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/testing.ts') diff --git a/packages/taler-wallet-core/src/operations/testing.ts b/packages/taler-wallet-core/src/operations/testing.ts index ef5aa907d..238a5dc66 100644 --- a/packages/taler-wallet-core/src/operations/testing.ts +++ b/packages/taler-wallet-core/src/operations/testing.ts @@ -50,14 +50,10 @@ import { getBalances } from "./balance.js"; import { checkLogicInvariant } from "../util/invariants.js"; import { acceptWithdrawalFromUri } from "./withdraw.js"; import { updateExchangeFromUrl } from "./exchanges.js"; -import { - confirmPeerPullDebit, - confirmPeerPushCredit, - initiatePeerPullPayment, - initiatePeerPushDebit, - preparePeerPullDebit, - preparePeerPushCredit, -} from "./pay-peer.js"; +import { initiatePeerPullPayment } from "./pay-peer-pull-credit.js"; +import { preparePeerPullDebit, confirmPeerPullDebit } from "./pay-peer-pull-debit.js"; +import { preparePeerPushCredit, confirmPeerPushCredit } from "./pay-peer-push-credit.js"; +import { initiatePeerPushDebit } from "./pay-peer-push-debit.js"; const logger = new Logger("operations/testing.ts"); -- cgit v1.2.3