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 +}