wallet-core: fix peer-push-debit transition helper
This commit is contained in:
parent
474a171f5e
commit
570c9dcbad
@ -288,8 +288,8 @@ async function transitionPeerPushDebitTransaction(
|
|||||||
}
|
}
|
||||||
const oldTxState = computePeerPushDebitTransactionState(ppiRec);
|
const oldTxState = computePeerPushDebitTransactionState(ppiRec);
|
||||||
ppiRec.status = transitionSpec.stTo;
|
ppiRec.status = transitionSpec.stTo;
|
||||||
|
await tx.peerPushPaymentInitiations.put(ppiRec);
|
||||||
const newTxState = computePeerPushDebitTransactionState(ppiRec);
|
const newTxState = computePeerPushDebitTransactionState(ppiRec);
|
||||||
// FIXME: We don't transition here?!
|
|
||||||
return {
|
return {
|
||||||
oldTxState,
|
oldTxState,
|
||||||
newTxState,
|
newTxState,
|
||||||
|
Loading…
Reference in New Issue
Block a user