aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-06-10 13:38:59 +0200
committerFlorian Dold <florian@dold.me>2022-06-10 13:38:59 +0200
commit716da3246b7d544fc81265d1942ae64067ecd8b7 (patch)
tree0f6dec4005e91957c91c129b2fb5cee43a3be32f /packages/taler-wallet-core
parentf57dc7bf7a1e3a14c67512ba67d92fa350c95c0e (diff)
downloadwallet-core-716da3246b7d544fc81265d1942ae64067ecd8b7.tar.xz
wallet-core: correctly report 'confirmed' status of bank integrated withdrawal
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r--packages/taler-wallet-core/src/operations/transactions.ts2
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,
};