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: only warn when


From: gnunet
Subject: [GNUnet-SVN] [taler-wallet-webex] branch master updated: only warn when actually necessary
Date: Tue, 12 Dec 2017 17:37:08 +0100

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 65943557 only warn when actually necessary
65943557 is described below

commit 659435570440c5a5eacde3a2e6ef5b3f3430a45f
Author: Florian Dold <address@hidden>
AuthorDate: Tue Dec 12 17:37:06 2017 +0100

    only warn when actually necessary
---
 src/types.ts           | 2 ++
 src/webex/wxBackend.ts | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/types.ts b/src/types.ts
index 85753725..ca01203d 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -1787,6 +1787,8 @@ export interface PurchaseRecord {
    * Set to 0 if no refund was made on the purchase.
    */
   timestamp_refund: number;
+
+  userAccepted: boolean;
 }
 
 
diff --git a/src/webex/wxBackend.ts b/src/webex/wxBackend.ts
index a804c73d..213d234d 100644
--- a/src/webex/wxBackend.ts
+++ b/src/webex/wxBackend.ts
@@ -484,8 +484,9 @@ function handleBankRequest(wallet: Wallet, headerList: 
chrome.webRequest.HttpHea
     if (reservePub !== undefined) {
       console.log(`confirming reserve ${reservePub} via 201`);
       wallet.confirmReserve({reservePub});
+    } else {
+      console.warn("got 'X-Taler-Operation: confirm-reserve' without 
'X-Taler-Reserve-Pub'");
     }
-    console.warn("got 'X-Taler-Operation: confirm-reserve' without 
'X-Taler-Reserve-Pub'");
     return;
   }
 

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



reply via email to

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