diff options
author | Florian Dold <florian@dold.me> | 2022-06-10 13:38:59 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-06-10 13:38:59 +0200 |
commit | 716da3246b7d544fc81265d1942ae64067ecd8b7 (patch) | |
tree | 0f6dec4005e91957c91c129b2fb5cee43a3be32f | |
parent | f57dc7bf7a1e3a14c67512ba67d92fa350c95c0e (diff) | |
download | wallet-core-716da3246b7d544fc81265d1942ae64067ecd8b7.tar.xz |
wallet-core: correctly report 'confirmed' status of bank integrated withdrawal
-rw-r--r-- | packages/taler-wallet-core/src/operations/transactions.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts index b8df1e7eb..1ac2bd042 100644 --- 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, }; |