taler-typescript-core

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

commit 570c9dcbadd01b1ace89d34e3ae7f0551a923022
parent 474a171f5e6684ab7d11bb2987fc90fe6e1b37c8
Author: Florian Dold <florian@dold.me>
Date:   Tue,  6 Jun 2023 15:01:59 +0200

wallet-core: fix peer-push-debit transition helper

Diffstat:
Mpackages/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 @@ -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,