From 9a197d619c02f7787311b191da3da693380304b6 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 1 Mar 2016 19:39:17 +0100 Subject: mint->exchange --- lib/wallet/db.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/wallet/db.ts') diff --git a/lib/wallet/db.ts b/lib/wallet/db.ts index c7621c5ff..2503468d5 100644 --- a/lib/wallet/db.ts +++ b/lib/wallet/db.ts @@ -45,12 +45,12 @@ export function openTalerDb(): Promise { console.log("DB: upgrade needed: oldVersion = " + e.oldVersion); switch (e.oldVersion) { case 0: // DB does not exist yet - const mints = db.createObjectStore("mints", {keyPath: "baseUrl"}); - mints.createIndex("pubKey", "masterPublicKey"); + const exchanges = db.createObjectStore("exchanges", {keyPath: "baseUrl"}); + exchanges.createIndex("pubKey", "masterPublicKey"); db.createObjectStore("reserves", {keyPath: "reserve_pub"}); db.createObjectStore("denoms", {keyPath: "denomPub"}); const coins = db.createObjectStore("coins", {keyPath: "coinPub"}); - coins.createIndex("mintBaseUrl", "mintBaseUrl"); + coins.createIndex("exchangeBaseUrl", "exchangeBaseUrl"); const transactions = db.createObjectStore("transactions", {keyPath: "contractHash"}); transactions.createIndex("repurchase", -- cgit v1.2.3