diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay-peer-common.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-peer-common.ts | 12 |
1 files changed, 11 insertions, 1 deletions
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, |