From b29cf0c5215d56b80e78cbfb66abe6008f003b27 Mon Sep 17 00:00:00 2001 From: skutner Date: Mon, 18 Jul 2022 13:33:57 +0300 Subject: [PATCH] PharmaLedger-IMI/epi-workspace#837 invalidate cache for main enclave DSU --- enclave/impl/WalletDBEnclave.js | 1 + 1 file changed, 1 insertion(+) diff --git a/enclave/impl/WalletDBEnclave.js b/enclave/impl/WalletDBEnclave.js index 62d81602..e97c5186 100644 --- a/enclave/impl/WalletDBEnclave.js +++ b/enclave/impl/WalletDBEnclave.js @@ -43,6 +43,7 @@ function WalletDBEnclave(keySSI, did) { } } + resolver.invalidateDSUCache(keySSI); this.storageDB = db.getSimpleWalletDB(DB_NAME, {keySSI}); this.storageDB.on("initialised", () => { initialised = true;