gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-wallet-webex] branch master updated (3e6bd635 -> 173


From: gnunet
Subject: [GNUnet-SVN] [taler-wallet-webex] branch master updated (3e6bd635 -> 173234fa)
Date: Sat, 09 Dec 2017 15:56:16 +0100

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

dold pushed a change to branch master
in repository wallet-webex.

    from 3e6bd635 implement new, optimized refresh protocol
     new ee9adea8 fix tipping
     new 173234fa manifest version

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 manifest.json | 4 ++--
 src/wallet.ts | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/manifest.json b/manifest.json
index c5c97ede..60d6ee78 100644
--- a/manifest.json
+++ b/manifest.json
@@ -4,8 +4,8 @@
   "name": "GNU Taler Wallet (git)",
   "description": "Privacy preserving and transparent payments",
   "author": "GNU Taler Developers",
-  "version": "0.6.48",
-  "version_name": "0.4.0",
+  "version": "0.6.49",
+  "version_name": "0.5.0-pre1",
 
   "minimum_chrome_version": "51",
   "minimum_opera_version": "36",
diff --git a/src/wallet.ts b/src/wallet.ts
index bd31d321..744eba16 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -1185,7 +1185,8 @@ export class Wallet {
         }
 
         if (tip.accepted) {
-          // Transactionall set coin to fresh.
+          console.log("untainting already accepted tip");
+          // Transactionally set coin to fresh.
           const mutateCoin = (c: CoinRecord) => {
             if (c.status === CoinStatus.TainedByTip) {
               c.status = CoinStatus.Fresh;
@@ -1325,7 +1326,7 @@ export class Wallet {
       denomSig,
       exchangeBaseUrl: pc.exchangeBaseUrl,
       reservePub: pc.reservePub,
-      status: CoinStatus.Fresh,
+      status: pc.isFromTip ? CoinStatus.TainedByTip : CoinStatus.Fresh,
     };
     return coin;
   }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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