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: Fix the Checkab


From: gnunet
Subject: [GNUnet-SVN] [taler-wallet-webex] branch master updated: Fix the Checkable.Map JSON validator.
Date: Mon, 03 Jun 2019 23:35:23 +0200

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 92690bba Fix the Checkable.Map JSON validator.
92690bba is described below

commit 92690bba7dc489aad0fd062045caa110f8f16652
Author: Florian Dold <address@hidden>
AuthorDate: Mon Jun 3 23:34:59 2019 +0200

    Fix the Checkable.Map JSON validator.
---
 src/checkable.ts | 1 +
 src/wallet.ts    | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/checkable.ts b/src/checkable.ts
index 2255209f..a8cc3822 100644
--- a/src/checkable.ts
+++ b/src/checkable.ts
@@ -157,6 +157,7 @@ export namespace Checkable {
       const value = target[key];
       prop.valueProp.checker(value, prop.valueProp, path.concat([key]));
     }
+    return target;
   }
 
 
diff --git a/src/wallet.ts b/src/wallet.ts
index f5a1bd43..4c7e8c18 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -1337,7 +1337,8 @@ export class Wallet {
     if (!wiJson) {
       throw Error("/wire response malformed");
     }
-    return ExchangeWireJson.checked(wiJson)
+
+    return ExchangeWireJson.checked(wiJson);
   }
 
 
@@ -1614,6 +1615,8 @@ export class Wallet {
       throw Error("exchange doesn't offer any denominations");
     }
 
+    console.log("updating exchange with wireMethodDetails", wireMethodDetails);
+
     const r = await this.q().get<ExchangeRecord>(Stores.exchanges, baseUrl);
 
     let exchangeInfo: ExchangeRecord;

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



reply via email to

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