wallet-core: correctly report 'confirmed' status of bank integrated withdrawal

This commit is contained in:
Florian Dold 2022-06-10 13:38:59 +02:00
parent f57dc7bf7a
commit 716da3246b
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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,
};