[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 01/01: wallet-core: first time fetch of exchange inf
From: |
gnunet |
Subject: |
[taler-wallet-core] 01/01: wallet-core: first time fetch of exchange info should not use cache |
Date: |
Thu, 22 Feb 2024 15:43:36 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
commit 872f7365a27ee746b33b472fda78580f43d601fa
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Feb 22 15:43:37 2024 +0100
wallet-core: first time fetch of exchange info should not use cache
---
packages/taler-wallet-core/src/exchanges.ts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/packages/taler-wallet-core/src/exchanges.ts
b/packages/taler-wallet-core/src/exchanges.ts
index 3e38925c1..6095fadd5 100644
--- a/packages/taler-wallet-core/src/exchanges.ts
+++ b/packages/taler-wallet-core/src/exchanges.ts
@@ -594,6 +594,10 @@ async function provideExchangeRecordInTx(
nextRefreshCheckStamp: timestampPreciseToDb(
AbsoluteTime.toPreciseTimestamp(AbsoluteTime.never()),
),
+ // The first update should always be done in a way that ignores the
cache,
+ // so that removing and re-adding an exchange works properly, even
+ // if /keys is cached in the browser.
+ cachebreakNextUpdate: true,
lastKeysEtag: undefined,
tosAcceptedEtag: undefined,
tosAcceptedTimestamp: undefined,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.