From 6206b418ff88a238762a18e7b6eeaceafc5de294 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 12 May 2020 14:08:58 +0530 Subject: new transactions API: withdrawal --- src/operations/pending.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/operations/pending.ts') diff --git a/src/operations/pending.ts b/src/operations/pending.ts index 14072633c..c793f5f0a 100644 --- a/src/operations/pending.ts +++ b/src/operations/pending.ts @@ -150,7 +150,7 @@ async function gatherReservePending( ): Promise { // FIXME: this should be optimized by using an index for "onlyDue==true". await tx.iter(Stores.reserves).forEach((reserve) => { - const reserveType = reserve.bankWithdrawStatusUrl + const reserveType = reserve.bankInfo ? ReserveType.TalerBankWithdraw : ReserveType.Manual; if (!reserve.retryInfo.active) { -- cgit v1.2.3