From 570c9dcbadd01b1ace89d34e3ae7f0551a923022 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 6 Jun 2023 15:01:59 +0200 Subject: [PATCH] wallet-core: fix peer-push-debit transition helper --- .../taler-wallet-core/src/operations/pay-peer-push-debit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts b/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts index a03980d46..599ef658b 100644 --- a/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts +++ b/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts @@ -288,8 +288,8 @@ async function transitionPeerPushDebitTransaction( } const oldTxState = computePeerPushDebitTransactionState(ppiRec); ppiRec.status = transitionSpec.stTo; + await tx.peerPushPaymentInitiations.put(ppiRec); const newTxState = computePeerPushDebitTransactionState(ppiRec); - // FIXME: We don't transition here?! return { oldTxState, newTxState,