commit 716da3246b7d544fc81265d1942ae64067ecd8b7
parent f57dc7bf7a1e3a14c67512ba67d92fa350c95c0e
Author: Florian Dold <florian@dold.me>
Date: Fri, 10 Jun 2022 13:38:59 +0200
wallet-core: correctly report 'confirmed' status of bank integrated withdrawal
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -166,7 +166,7 @@ export async function getTransactions(
if (r.bankInfo) {
withdrawalDetails = {
type: WithdrawalType.TalerBankIntegrationApi,
- confirmed: true,
+ confirmed: r.timestampBankConfirmed ? true : false,
reservePub: wsr.reservePub,
bankConfirmationUrl: r.bankInfo.confirmUrl,
};