diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index 9dd0f0a3f..c7a44bf0f 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -56,7 +56,7 @@ import { URL, UnblindedSignature, WithdrawUriInfoResponse, - WithdrawalAccountInfo, + WithdrawalExchangeAccountDetails, addPaytoQueryParams, canonicalizeBaseUrl, codecForBankWithdrawalOperationPostResponse, @@ -1873,7 +1873,7 @@ export async function getExchangeWithdrawalInfo( earliestDepositExpiration, exchangePaytoUris: paytoUris, exchangeWireAccounts, - withdrawalAccountList, + exchangeCreditAccountDetails: withdrawalAccountList, exchangeVersion: exchangeDetails.protocolVersionRange || "unknown", numOfferedDenoms: possibleDenoms.length, selectedDenoms, @@ -2584,9 +2584,9 @@ async function fetchWithdrawalAccountInfo( instructedAmount: AmountJson; reservePub?: string; }, -): Promise<WithdrawalAccountInfo[]> { +): Promise<WithdrawalExchangeAccountDetails[]> { const { exchangeDetails, instructedAmount } = req; - const withdrawalAccounts: WithdrawalAccountInfo[] = []; + const withdrawalAccounts: WithdrawalExchangeAccountDetails[] = []; for (let acct of exchangeDetails.wireInfo.accounts) { let paytoUri: string; let transferAmount: AmountString; @@ -2617,7 +2617,7 @@ async function fetchWithdrawalAccountInfo( message: `Taler Withdrawal ${req.reservePub}`, }); } - const acctInfo: WithdrawalAccountInfo = { + const acctInfo: WithdrawalExchangeAccountDetails = { paytoUri, transferAmount, creditRestrictions: acct.credit_restrictions, |