gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: wallet-core: allow deleting a


From: gnunet
Subject: [taler-wallet-core] branch master updated: wallet-core: allow deleting a peer-push-credit transaction in dialog state
Date: Sat, 24 Jun 2023 17:54:18 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new fbab16ef2 wallet-core: allow deleting a peer-push-credit transaction 
in dialog state
fbab16ef2 is described below

commit fbab16ef23fb216c8322cdb1fa7e92173fa73133
Author: Florian Dold <florian@dold.me>
AuthorDate: Sat Jun 24 17:54:15 2023 +0200

    wallet-core: allow deleting a peer-push-credit transaction in dialog state
---
 packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts 
b/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts
index 341dccb7a..b2f641b80 100644
--- a/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts
+++ b/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts
@@ -928,7 +928,7 @@ export function computePeerPushCreditTransactionActions(
 ): TransactionAction[] {
   switch (pushCreditRecord.status) {
     case PeerPushPaymentIncomingStatus.DialogProposed:
-      return [];
+      return [TransactionAction.Delete];
     case PeerPushPaymentIncomingStatus.PendingMerge:
       return [TransactionAction.Abort, TransactionAction.Suspend];
     case PeerPushPaymentIncomingStatus.Done:

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]