Skip to content

Commit

Permalink
PharmaLedger-IMI/epi-workspace#837 invalidate cache for main enclave DSU
Browse files Browse the repository at this point in the history
  • Loading branch information
skutner committed Jul 18, 2022
1 parent f7ff257 commit b29cf0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions enclave/impl/WalletDBEnclave.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function WalletDBEnclave(keySSI, did) {
}
}

resolver.invalidateDSUCache(keySSI);
this.storageDB = db.getSimpleWalletDB(DB_NAME, {keySSI});
this.storageDB.on("initialised", () => {
initialised = true;
Expand Down

0 comments on commit b29cf0c

Please # to comment.