diff options
author | Florian Dold <florian@dold.me> | 2023-06-06 15:01:59 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-06-06 15:01:59 +0200 |
commit | 570c9dcbadd01b1ace89d34e3ae7f0551a923022 (patch) | |
tree | 3c03eb3789ca6fd65586718a92672d0005924e29 | |
parent | 474a171f5e6684ab7d11bb2987fc90fe6e1b37c8 (diff) |
wallet-core: fix peer-push-debit transition helper
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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, |