Merge pull request #702 from matiu/bug/cross-coin-balance

do not decorate address with .coin param is given
This commit is contained in:
Matias Alejo Garcia 2017-09-14 20:04:16 -03:00 committed by GitHub
commit ffea739a19
1 changed files with 1 additions and 0 deletions

View File

@ -1188,6 +1188,7 @@ WalletService.prototype._getUtxosForCurrentWallet = function(opts, cb) {
});
},
function(next) {
if (opts.coin) return next();
// Needed for the clients to sign UTXOs
var addressToPath = _.indexBy(allAddresses, 'address');
_.each(allUtxos, function(utxo) {