add getUsedUnspent to txproposals

This commit is contained in:
Matias Alejo Garcia 2014-04-21 12:00:14 -03:00
commit 0523d99eda
4 changed files with 38 additions and 5 deletions

View file

@ -433,7 +433,7 @@ Wallet.prototype.getBalance = function(cb) {
}
for(var a in balanceByAddr){
balanceByAddr[a] = balanceByAddr[a]/COIN;
};
}
return cb(balance / COIN, balanceByAddr, isMain);
});
};