aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/checkable.ts1
-rw-r--r--src/wallet.ts5
2 files changed, 5 insertions, 1 deletions
diff --git a/src/checkable.ts b/src/checkable.ts
index 2255209f1..a8cc38221 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 f5a1bd43c..4c7e8c181 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;