aboutsummaryrefslogtreecommitdiff
path: root/src/operations/withdraw.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-16 14:44:59 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-16 14:44:59 +0530
commit75c5c59316a428fbebe2448d9d79a70689565657 (patch)
tree9dbc53b428011a8e24273f6c6e1fe70121e8d3d2 /src/operations/withdraw.ts
parentc6d80b01281a6af578fb3468698419ddd5c172f8 (diff)
downloadwallet-core-75c5c59316a428fbebe2448d9d79a70689565657.tar.xz
report manual withdrawals properly in transaction list
Diffstat (limited to 'src/operations/withdraw.ts')
-rw-r--r--src/operations/withdraw.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operations/withdraw.ts b/src/operations/withdraw.ts
index 284743415..fd850f140 100644
--- a/src/operations/withdraw.ts
+++ b/src/operations/withdraw.ts
@@ -32,7 +32,7 @@ import {
import {
BankWithdrawDetails,
ExchangeWithdrawDetails,
- WithdrawDetails,
+ WithdrawalDetailsResponse,
OperationError,
} from "../types/walletTypes";
import {
@@ -708,7 +708,7 @@ export async function getWithdrawDetailsForUri(
ws: InternalWalletState,
talerWithdrawUri: string,
maybeSelectedExchange?: string,
-): Promise<WithdrawDetails> {
+): Promise<WithdrawalDetailsResponse> {
const info = await getBankWithdrawalInfo(ws, talerWithdrawUri);
let rci: ExchangeWithdrawDetails | undefined = undefined;
if (maybeSelectedExchange) {