aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/db.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-08-24 19:44:24 +0200
committerFlorian Dold <florian@dold.me>2022-08-24 19:44:24 +0200
commit42c2b7508f898ccce4305d56084ced971d99ed52 (patch)
tree712257afe6d0a5ce9af079074e6615f32c295a97 /packages/taler-wallet-core/src/db.ts
parentd32d2895cedad656d7130522722f40642c439de6 (diff)
downloadwallet-core-42c2b7508f898ccce4305d56084ced971d99ed52.tar.xz
wallet-core: fix withdrawal idempotency
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r--packages/taler-wallet-core/src/db.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts
index bc0bb4f65..3d59ce0a7 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -112,11 +112,7 @@ export enum ReserveRecordStatus {
* with a bank-integrated withdrawal.
*/
export interface ReserveBankInfo {
- /**
- * Status URL that the wallet will use to query the status
- * of the Taler withdrawal operation on the bank's side.
- */
- statusUrl: string;
+ talerWithdrawUri: string;
/**
* URL that the user can be redirected to, and allows
@@ -1799,6 +1795,10 @@ export const WalletStoresV1 = {
{
byReservePub: describeIndex("byReservePub", "reservePub"),
byStatus: describeIndex("byStatus", "operationStatus"),
+ byTalerWithdrawUri: describeIndex(
+ "byTalerWithdrawUri",
+ "bankInfo.talerWithdrawUri",
+ ),
},
),
planchets: describeStore(