diff options
author | Florian Dold <florian@dold.me> | 2020-12-16 17:59:04 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2020-12-16 17:59:04 +0100 |
commit | bafb52edff4d56bcb9e3c3d0a260f507c517b08c (patch) | |
tree | 09b484a8cedc9893f5ea7593a98fadde075eafa3 /packages/taler-wallet-core/src/util/query.ts | |
parent | c09c5bbe625566fc61c811160d2ccdab263327fa (diff) | |
download | wallet-core-bafb52edff4d56bcb9e3c3d0a260f507c517b08c.tar.xz |
don't store reserve history anymore, adjust withdrawal implementation accordingly
Diffstat (limited to 'packages/taler-wallet-core/src/util/query.ts')
-rw-r--r-- | packages/taler-wallet-core/src/util/query.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/util/query.ts b/packages/taler-wallet-core/src/util/query.ts index e1a23b168..35aab81e9 100644 --- a/packages/taler-wallet-core/src/util/query.ts +++ b/packages/taler-wallet-core/src/util/query.ts @@ -583,7 +583,7 @@ export class Database { } async getIndexed<Ind extends Index<string, string, any, any>>( - index: InferIndex<Ind>, + index: Ind, key: IDBValidKey, ): Promise<IndexRecord<Ind> | undefined> { const tx = this.db.transaction([index.storeName], "readonly"); |