Skip to content

Commit

Permalink
hit right index
Browse files Browse the repository at this point in the history
  • Loading branch information
nitsujlangston committed Dec 10, 2018
1 parent a738faa commit a66b28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bitcore-node/src/models/walletAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class WalletAddress extends BaseModel<IWalletAddress> {
}

let coinStream = CoinModel.collection
.find({ wallets: wallet._id })
.find({ wallets: wallet._id, 'wallets.0': { $exists: true } })
.project({ spentTxid: 1, mintTxid: 1 })
.addCursorFlag('noCursorTimeout', true);
let txids = {};
Expand Down

0 comments on commit a66b28b

Please sign in to comment.