diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-09-14 15:55:10 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-09-14 15:55:10 +0200 |
commit | ebbdadb4b6bd59e57b0eec8e280c7c5c12453167 (patch) | |
tree | 8f9fdbd1cf0e2d1b79884dfe15828f3c98f28da6 /lib/wallet/db.ts | |
parent | fc6db1824e6974898f177ffb0ffd2eb138a653ce (diff) | |
download | wallet-core-ebbdadb4b6bd59e57b0eec8e280c7c5c12453167.tar.xz |
sort out libs / fix warnings
Diffstat (limited to 'lib/wallet/db.ts')
-rw-r--r-- | lib/wallet/db.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wallet/db.ts b/lib/wallet/db.ts index 7fe635b9e..5104f28fb 100644 --- a/lib/wallet/db.ts +++ b/lib/wallet/db.ts @@ -93,7 +93,7 @@ export function exportDb(db: IDBDatabase): Promise<any> { return new Promise((resolve, reject) => { - let tx = db.transaction(db.objectStoreNames); + let tx = db.transaction(Array.from(db.objectStoreNames)); tx.addEventListener("complete", () => { resolve(dump); }); |