From e319e99ef9657f68c82e7b37dd928c126d865ecb Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 7 Jan 2021 15:01:23 +0100 Subject: restore denom selection on import --- packages/taler-wallet-core/src/operations/state.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/taler-wallet-core/src/operations/state.ts') diff --git a/packages/taler-wallet-core/src/operations/state.ts b/packages/taler-wallet-core/src/operations/state.ts index 11695f6d0..1733f13bb 100644 --- a/packages/taler-wallet-core/src/operations/state.ts +++ b/packages/taler-wallet-core/src/operations/state.ts @@ -55,6 +55,10 @@ export class InternalWalletState { private resourceLocks: Set = new Set(); constructor( + // FIXME: Make this a getter and make + // the actual value nullable. + // Check if we are in a DB migration / garbage collection + // and throw an error in that case. public db: Database, public http: HttpRequestLibrary, cryptoWorkerFactory: CryptoWorkerFactory, -- cgit v1.2.3