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: do not consider


From: gnunet
Subject: [taler-wallet-core] branch master updated: wallet-core: do not consider peer pull tx as pending when in dialog state
Date: Wed, 08 Nov 2023 16:57:50 +0100

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 bbcfc2cbb wallet-core: do not consider peer pull tx as pending when in 
dialog state
bbcfc2cbb is described below

commit bbcfc2cbb5ae9105b6376bfd601cfd68adb4f7f3
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Nov 8 16:57:48 2023 +0100

    wallet-core: do not consider peer pull tx as pending when in dialog state
---
 packages/taler-wallet-core/src/operations/pending.ts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/packages/taler-wallet-core/src/operations/pending.ts 
b/packages/taler-wallet-core/src/operations/pending.ts
index e30958226..49dcbd5a6 100644
--- a/packages/taler-wallet-core/src/operations/pending.ts
+++ b/packages/taler-wallet-core/src/operations/pending.ts
@@ -580,10 +580,10 @@ async function gatherPeerPullDebitPending(
       const timestampDue =
         timestampOptionalAbsoluteFromDb(retryRecord?.retryInfo.nextRetry) ??
         AbsoluteTime.now();
-      // switch (pi.status) {
-      //   case PeerPullDebitRecordStatus.DialogProposed:
-      //     return;
-      // }
+      switch (pi.status) {
+        case PeerPullDebitRecordStatus.DialogProposed:
+          return;
+      }
       resp.pendingOperations.push({
         type: PendingTaskType.PeerPullDebit,
         ...getPendingCommon(ws, opId, timestampDue),

-- 
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]