diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src')
-rw-r--r-- | packages/taler-wallet-webextension/src/wxBackend.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/wxBackend.ts b/packages/taler-wallet-webextension/src/wxBackend.ts index cb7b9295f..745fe0366 100644 --- a/packages/taler-wallet-webextension/src/wxBackend.ts +++ b/packages/taler-wallet-webextension/src/wxBackend.ts @@ -33,6 +33,7 @@ import { Database, Stores, makeErrorDetails, + deleteTalerDatabase, } from "@gnu-taler/taler-wallet-core"; import { classifyTalerUri, @@ -121,6 +122,7 @@ async function dispatch( break; } case "reset-db": { + await deleteTalerDatabase(indexedDB); r = wrapResponse(await reinitWallet()); break; } |