aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-09-01 01:05:38 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-09-01 01:05:38 +0200
commit70912b07250e7c86ace4a0b0b16e90352df93ece (patch)
tree4609e53f86197c7706e803972537488cacb9173c /src/wallet.ts
parentaa36fce8a0d1ead29709444527c2d1a4ba9491a6 (diff)
downloadwallet-core-70912b07250e7c86ace4a0b0b16e90352df93ece.tar.xz
fix error in index iteration
Diffstat (limited to 'src/wallet.ts')
-rw-r--r--src/wallet.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet.ts b/src/wallet.ts
index 3785f912e..1d231f2df 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -1822,7 +1822,7 @@ export class Wallet {
talerWithdrawUri: string,
maybeSelectedExchange?: string,
): Promise<WithdrawDetails> {
- const info = await this.downloadWithdrawInfo(talerWithdrawUri);
+ const info = await this.getWithdrawalInfo(talerWithdrawUri);
let rci: ReserveCreationInfo | undefined = undefined;
if (maybeSelectedExchange) {
rci = await this.getWithdrawDetailsForAmount(
@@ -3551,7 +3551,7 @@ export class Wallet {
// strategy to test it.
}
- async downloadWithdrawInfo(
+ async getWithdrawalInfo(
talerWithdrawUri: string,
): Promise<DownloadedWithdrawInfo> {
const uriResult = parseWithdrawUri(talerWithdrawUri);
@@ -3577,7 +3577,7 @@ export class Wallet {
talerWithdrawUri: string,
selectedExchange: string,
): Promise<AcceptWithdrawalResponse> {
- const withdrawInfo = await this.downloadWithdrawInfo(talerWithdrawUri);
+ const withdrawInfo = await this.getWithdrawalInfo(talerWithdrawUri);
const exchangeWire = await this.getExchangePaytoUri(
selectedExchange,
withdrawInfo.wireTypes,