fix incomplete rename
This commit is contained in:
parent
337a59566c
commit
2b7fff323d
@ -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");
|
||||
|
@ -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);
|
||||
|
@ -444,7 +444,7 @@ export const enum ExchangeUpdateStatus {
|
||||
}
|
||||
|
||||
export interface ExchangeBankAccount {
|
||||
url: string;
|
||||
payto_uri: string;
|
||||
}
|
||||
|
||||
export interface ExchangeWireInfo {
|
||||
|
Loading…
Reference in New Issue
Block a user