diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-01-05 17:11:01 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-01-05 17:11:01 +0100 |
commit | 91fc8d56f02628a257b6681a379ef6f28824b24e (patch) | |
tree | 6b3f952338a9bc3aa512d6bcb8531fa3bbead237 /extension/background/wallet.js | |
parent | 3bf1846ed81b7c137a3d751400a74546f502a37b (diff) |
fix more query wrapper bugs
Diffstat (limited to 'extension/background/wallet.js')
-rw-r--r-- | extension/background/wallet.js | 2 |
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); }); |