From 42c2b7508f898ccce4305d56084ced971d99ed52 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 24 Aug 2022 19:44:24 +0200 Subject: wallet-core: fix withdrawal idempotency --- packages/taler-wallet-core/src/db.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/taler-wallet-core/src/db.ts') 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( -- cgit v1.2.3