aboutsummaryrefslogtreecommitdiff
path: root/src/db.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.ts')
-rw-r--r--src/db.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/db.ts b/src/db.ts
index 4fe7f81af..eaac22eb0 100644
--- a/src/db.ts
+++ b/src/db.ts
@@ -14,15 +14,12 @@ export function openTalerDb(
): Promise<IDBDatabase> {
console.log("in openTalerDb");
return new Promise<IDBDatabase>((resolve, reject) => {
- console.log("calling factory.open");
const req = idbFactory.open(DB_NAME, WALLET_DB_VERSION);
- console.log("after factory.open");
req.onerror = e => {
console.log("taler database error", e);
reject(e);
};
req.onsuccess = e => {
- console.log("in openTalerDb onsuccess");
req.result.onversionchange = (evt: IDBVersionChangeEvent) => {
console.log(
`handling live db version change from ${evt.oldVersion} to ${
@@ -35,7 +32,6 @@ export function openTalerDb(
resolve(req.result);
};
req.onupgradeneeded = e => {
- console.log("in openTalerDb onupgradeneeded");
const db = req.result;
console.log(
`DB: upgrade needed: oldVersion=${e.oldVersion}, newVersion=${