commit 7bff7676cf9d010def936c4f8071d8ced0184463
parent 444785e37db60943b0634e532aa9e0758167a1e7
Author: Florian Dold <florian@dold.me>
Date: Fri, 20 Mar 2026 14:59:02 +0100
wallet-core: rename state handler for consistency
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/taler-wallet-core/src/pay-peer-pull-credit.ts b/packages/taler-wallet-core/src/pay-peer-pull-credit.ts
@@ -501,7 +501,7 @@ export class PeerPullCreditTransactionContext implements TransactionContext {
}
}
-async function queryPurseForPeerPullCredit(
+async function processPendingReady(
wex: WalletExecutionContext,
pullIni: PeerPullCreditRecord,
): Promise<TaskRunResult> {
@@ -914,7 +914,7 @@ export async function processPeerPullCredit(
case PeerPullPaymentCreditStatus.Done:
return TaskRunResult.finished();
case PeerPullPaymentCreditStatus.PendingReady:
- return await queryPurseForPeerPullCredit(wex, pullIni);
+ return await processPendingReady(wex, pullIni);
case PeerPullPaymentCreditStatus.PendingMergeKycRequired: {
if (!pullIni.kycPaytoHash) {
throw Error("invalid state, kycPaytoHash required");