gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: logging


From: gnunet
Subject: [taler-wallet-core] branch master updated: logging
Date: Thu, 14 Jan 2021 18:04:19 +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 93633ac6 logging
93633ac6 is described below

commit 93633ac6838e7936e894d15e736ab89942f0f3b3
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Jan 14 18:04:17 2021 +0100

    logging
---
 packages/taler-wallet-core/src/operations/withdraw.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts 
b/packages/taler-wallet-core/src/operations/withdraw.ts
index ffcc5ade..936b5395 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -569,7 +569,7 @@ export async function updateWithdrawalDenoms(
   );
   const now = getTimestampNow();
   for (const denom of nextDenominations) {
-    const started = timestampCmp(now, denom.stampStart) >= 0;
+    const startDelay = getDurationRemaining(denom.stampStart, now);
     const lastPossibleWithdraw = timestampSubtractDuraction(
       denom.stampExpireWithdraw,
       { d_ms: 50 * 1000 },
@@ -580,7 +580,7 @@ export async function updateWithdrawalDenoms(
         denom.isRevoked
       } offered ${denom.isOffered} remaining ${
         (remaining.d_ms as number) / 1000
-      }sec started ${started}`,
+      }sec withdrawDelay ${(startDelay.d_ms as number) / 1000}sec`,
     );
   }
 }

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