mtx: minor.

This commit is contained in:
Christopher Jeffrey 2017-07-26 20:59:34 -07:00
parent 17443593b2
commit 396ba5ee5f
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1703,10 +1703,8 @@ CoinSelector.prototype.getFee = function getFee(size) {
*/
CoinSelector.prototype.fund = function fund() {
let coin;
while (this.index < this.coins.length) {
coin = this.coins[this.index++];
let coin = this.coins[this.index++];
if (!this.isSpendable(coin))
continue;