[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: fix incomplete rename
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: fix incomplete rename |
Date: |
Sun, 19 Jan 2020 19:02:59 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 2b7fff32 fix incomplete rename
2b7fff32 is described below
commit 2b7fff323d91d96e89ce822273b80385ca03bc9c
Author: Florian Dold <address@hidden>
AuthorDate: Sun Jan 19 19:02:47 2020 +0100
fix incomplete rename
---
src/operations/exchanges.ts | 4 ++--
src/operations/withdraw.ts | 2 +-
src/types/dbTypes.ts | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/operations/exchanges.ts b/src/operations/exchanges.ts
index 9ea36e27..2e0fd090 100644
--- a/src/operations/exchanges.ts
+++ b/src/operations/exchanges.ts
@@ -508,12 +508,12 @@ export async function getExchangePaytoUri(
throw Error(`Exchange wire info for '${exchangeBaseUrl}' not found.`);
}
for (let account of exchangeWireInfo.accounts) {
- const res = parsePaytoUri(account.url);
+ const res = parsePaytoUri(account.payto_uri);
if (!res) {
continue;
}
if (supportedTargetTypes.includes(res.targetType)) {
- return account.url;
+ return account.payto_uri;
}
}
throw Error("no matching exchange account found");
diff --git a/src/operations/withdraw.ts b/src/operations/withdraw.ts
index 950d3c00..3a1f3cf0 100644
--- a/src/operations/withdraw.ts
+++ b/src/operations/withdraw.ts
@@ -570,7 +570,7 @@ export async function getExchangeWithdrawalInfo(
const exchangeWireAccounts: string[] = [];
for (let account of exchangeWireInfo.accounts) {
- exchangeWireAccounts.push(account.url);
+ exchangeWireAccounts.push(account.payto_uri);
}
const { isTrusted, isAudited } = await getExchangeTrust(ws, exchangeInfo);
diff --git a/src/types/dbTypes.ts b/src/types/dbTypes.ts
index b8eca2dd..2b876ab2 100644
--- a/src/types/dbTypes.ts
+++ b/src/types/dbTypes.ts
@@ -444,7 +444,7 @@ export const enum ExchangeUpdateStatus {
}
export interface ExchangeBankAccount {
- url: string;
+ payto_uri: string;
}
export interface ExchangeWireInfo {
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: fix incomplete rename,
gnunet <=