aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/db.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-10-05 18:31:56 +0200
committerFlorian Dold <florian@dold.me>2022-10-05 18:31:56 +0200
commit957f9a5efb26194a7911cdaf722502ba09e5bd58 (patch)
treed7edfb20814d8f9cf418457de0a3ff86c7690308 /packages/taler-wallet-core/src/db.ts
parent99ace8b7d24416f2b184d66006c89b61935e132e (diff)
downloadwallet-core-957f9a5efb26194a7911cdaf722502ba09e5bd58.tar.xz
wallet-core: fix default auditor/exchange loading logic
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r--packages/taler-wallet-core/src/db.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts
index f8fddb255..16ae2cf8d 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -510,7 +510,7 @@ export interface ExchangeRecord {
permanent: boolean;
/**
- * Last time when the exchange was updated.
+ * Last time when the exchange was updated (both /keys and /wire).
*/
lastUpdate: TalerProtocolTimestamp | undefined;
@@ -521,6 +521,10 @@ export interface ExchangeRecord {
*/
nextUpdate: TalerProtocolTimestamp;
+ lastKeysEtag: string | undefined;
+
+ lastWireEtag: string | undefined;
+
/**
* Next time that we should check if coins need to be refreshed.
*