diff options
author | Florian Dold <florian@dold.me> | 2021-01-07 15:01:23 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-01-07 15:01:23 +0100 |
commit | e319e99ef9657f68c82e7b37dd928c126d865ecb (patch) | |
tree | 2cd7d8b9f7330619fa01b0f2fb169a52a9703bf3 /packages/taler-wallet-core/src/operations/state.ts | |
parent | 3773a4cdfff26297981094cb5c48e755ac75a77c (diff) | |
download | wallet-core-e319e99ef9657f68c82e7b37dd928c126d865ecb.tar.gz wallet-core-e319e99ef9657f68c82e7b37dd928c126d865ecb.tar.bz2 wallet-core-e319e99ef9657f68c82e7b37dd928c126d865ecb.zip |
restore denom selection on import
Diffstat (limited to 'packages/taler-wallet-core/src/operations/state.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/state.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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<string> = 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, |