aboutsummaryrefslogtreecommitdiff
path: root/extension/background/wallet.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-01-05 17:11:01 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-01-05 17:11:01 +0100
commit91fc8d56f02628a257b6681a379ef6f28824b24e (patch)
tree6b3f952338a9bc3aa512d6bcb8531fa3bbead237 /extension/background/wallet.js
parent3bf1846ed81b7c137a3d751400a74546f502a37b (diff)
fix more query wrapper bugs
Diffstat (limited to 'extension/background/wallet.js')
-rw-r--r--extension/background/wallet.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/background/wallet.js b/extension/background/wallet.js
index beb66c57a..ebb04e832 100644
--- a/extension/background/wallet.js
+++ b/extension/background/wallet.js
@@ -111,7 +111,7 @@ function getPossibleMintCoins(db, paymentAmount, depositFeeLimit, allowedMints)
}
let ps = allowedMints.map((info) => {
return Query(db)
- .iterOnly("mints", info.master_pub)
+ .iterIndex("mints", "pubKey", info.master_pub)
.indexJoin("coins", "mintBaseUrl", (mint) => mint.baseUrl)
.reduce(storeMintCoin);
});