taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit e050dfd8a87352944553cb8b0594bc7b92011e71
parent f3d50d00633fca00d718efbd6353f98863528119
Author: Sebastian <sebasjm@gmail.com>
Date:   Wed,  1 Nov 2023 23:16:58 -0300

remove /wire on cache invalidation

Diffstat:
Mpackages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx | 10+---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx @@ -325,20 +325,12 @@ export function View({ const oldKeys = JSON.stringify( await (await fetch(`${url}keys`)).json(), ); - const oldWire = JSON.stringify( - await (await fetch(`${url}wire`)).json(), - ); const newKeys = JSON.stringify( await ( await fetch(`${url}keys`, { cache: "no-cache" }) ).json(), ); - const newWire = JSON.stringify( - await ( - await fetch(`${url}wire`, { cache: "no-cache" }) - ).json(), - ); - return oldKeys !== newKeys || newWire !== oldWire; + return oldKeys !== newKeys; }), ); const ex = exchangeList.filter((e, i) => result[i]);