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,