diff options
Diffstat (limited to 'extension/lib/wallet/db.ts')
-rw-r--r-- | extension/lib/wallet/db.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/lib/wallet/db.ts b/extension/lib/wallet/db.ts index 8c331ef6f..106f1f34c 100644 --- a/extension/lib/wallet/db.ts +++ b/extension/lib/wallet/db.ts @@ -46,7 +46,7 @@ export function openTalerDb(): Promise<IDBDatabase> { switch (e.oldVersion) { case 0: // DB does not exist yet const mints = db.createObjectStore("mints", {keyPath: "baseUrl"}); - mints.createIndex("pubKey", "keys.master_public_key"); + mints.createIndex("pubKey", "masterPublicKey"); db.createObjectStore("reserves", {keyPath: "reserve_pub"}); db.createObjectStore("denoms", {keyPath: "denomPub"}); const coins = db.createObjectStore("coins", {keyPath: "coinPub"}); |