[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-wallet-webex] 02/02: v0.2.7
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-wallet-webex] 02/02: v0.2.7 |
Date: |
Sun, 04 Jun 2017 19:41:53 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-webex.
commit 2b1e88737f6496fb0ad8790b501edaa1d556d83d
Author: Florian Dold <address@hidden>
AuthorDate: Sun Jun 4 19:41:43 2017 +0200
v0.2.7
---
manifest.json | 4 ++--
src/wallet.ts | 18 ++++--------------
2 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/manifest.json b/manifest.json
index ff8e8187..947155b9 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.43",
- "version_name": "0.2.6",
+ "version": "0.6.44",
+ "version_name": "0.2.7",
"minimum_chrome_version": "51",
"minimum_opera_version": "36",
diff --git a/src/wallet.ts b/src/wallet.ts
index 80ba533c..b0029e75 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -327,7 +327,7 @@ const builtinCurrencies: CurrencyRecord[] = [
{
auditors: [
{
- auditorPub: "XN9KMN5G2KGPCAN0E89MM5HE8FV4WBWA9KDTMTDR817MWBCYA7H0",
+ auditorPub: "BW9DC48PHQY4NH011SHHX36DZZ3Q22Y6X7FZ1VD1CMZ2PTFZ6PN0",
baseUrl: "https://auditor.demo.taler.net/";,
expirationStamp: (new Date(2027, 1)).getTime(),
},
@@ -336,15 +336,6 @@ const builtinCurrencies: CurrencyRecord[] = [
fractionalDigits: 2,
name: "KUDOS",
},
- {
- auditors: [
- ],
- exchanges: [
- { baseUrl: "https://exchange.test.taler.net/";, priority: 0 },
- ],
- fractionalDigits: 2,
- name: "PUDOS",
- },
];
@@ -1503,13 +1494,12 @@ export class Wallet {
.toArray()
) || [];
+ const trustedAuditorPubs = [];
const currencyRecord = await
this.q().get<CurrencyRecord>(Stores.currencies, amount.currency);
- if (!currencyRecord) {
- throw Error("currency not found");
+ if (currencyRecord) {
+ trustedAuditorPubs.push(...currencyRecord.auditors.map((a) =>
a.auditorPub));
}
- const trustedAuditorPubs = currencyRecord.auditors.map((a) =>
a.auditorPub);
-
const ret: ReserveCreationInfo = {
earliestDepositExpiration,
exchangeInfo,
--
To stop receiving notification emails like this one, please contact
address@hidden