aboutsummaryrefslogtreecommitdiff
path: root/lib/wallet/query.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wallet/query.ts')
-rw-r--r--lib/wallet/query.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wallet/query.ts b/lib/wallet/query.ts
index c7420a3f7..3119aa58f 100644
--- a/lib/wallet/query.ts
+++ b/lib/wallet/query.ts
@@ -290,7 +290,7 @@ class QueryRoot {
*/
putAll(storeName: string, iterable: any[]): QueryRoot {
const doPutAll = (tx: IDBTransaction) => {
- for (const obj of iterable) {
+ for (let obj of iterable) {
tx.objectStore(storeName).put(obj);
}
};
@@ -412,4 +412,4 @@ class QueryRoot {
this.hasWrite = true;
}
}
-} \ No newline at end of file
+}