taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit ab428f3b1ebb4f147075d6628df0d08df3ba1fe2
parent d5b7c732df6c0181c90d17b9550902961a78727b
Author: Sebastian <sebasjm@gmail.com>
Date:   Tue, 16 Apr 2024 15:22:04 -0300

fix typo: validating the wrong state

Diffstat:
Mpackages/taler-wallet-core/src/pay-merchant.ts | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts @@ -2790,7 +2790,7 @@ async function processPurchaseAutoRefund( logger.warn("purchase does not exist anymore"); return; } - if (p.purchaseStatus !== PurchaseStatus.PendingQueryingRefund) { + if (p.purchaseStatus !== PurchaseStatus.PendingQueryingAutoRefund) { return; } const oldTxState = computePayMerchantTransactionState(p);