From 8b74bda065e1f2e01b322662dce3a002aa0fb20b Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 13 Jun 2023 16:46:16 -0300 Subject: get operation plan impl, no test --- packages/taler-wallet-core/src/operations/pay-peer-common.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'packages/taler-wallet-core/src/operations/pay-peer-common.ts') diff --git a/packages/taler-wallet-core/src/operations/pay-peer-common.ts b/packages/taler-wallet-core/src/operations/pay-peer-common.ts index 717b25f49..72e48cb03 100644 --- a/packages/taler-wallet-core/src/operations/pay-peer-common.ts +++ b/packages/taler-wallet-core/src/operations/pay-peer-common.ts @@ -52,7 +52,11 @@ import { InternalWalletState } from "../internal-wallet-state.js"; import { checkDbInvariant } from "../util/invariants.js"; import { getPeerPaymentBalanceDetailsInTx } from "./balance.js"; import { getTotalRefreshCost } from "./refresh.js"; -import { OperationAttemptLongpollResult, OperationAttemptResult, OperationAttemptResultType } from "../util/retries.js"; +import { + OperationAttemptLongpollResult, + OperationAttemptResult, + OperationAttemptResultType, +} from "../util/retries.js"; const logger = new Logger("operations/peer-to-peer.ts"); @@ -113,6 +117,12 @@ export type SelectPeerCoinsResult = insufficientBalanceDetails: PayPeerInsufficientBalanceDetails; }; +/** + * Get information about the coin selected for signatures + * @param ws + * @param csel + * @returns + */ export async function queryCoinInfosForSelection( ws: InternalWalletState, csel: PeerPushPaymentCoinSelection, -- cgit v1.2.3