diff options
author | Florian Dold <florian@dold.me> | 2022-08-24 19:44:24 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-08-24 19:44:24 +0200 |
commit | 42c2b7508f898ccce4305d56084ced971d99ed52 (patch) | |
tree | 712257afe6d0a5ce9af079074e6615f32c295a97 /packages/taler-wallet-core/src/db.ts | |
parent | d32d2895cedad656d7130522722f40642c439de6 (diff) | |
download | wallet-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.ts | 10 |
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( |