Merge pull request #702 from matiu/bug/cross-coin-balance
do not decorate address with .coin param is given
This commit is contained in:
commit
ffea739a19
|
@ -1188,6 +1188,7 @@ WalletService.prototype._getUtxosForCurrentWallet = function(opts, cb) {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
function(next) {
|
function(next) {
|
||||||
|
if (opts.coin) return next();
|
||||||
// Needed for the clients to sign UTXOs
|
// Needed for the clients to sign UTXOs
|
||||||
var addressToPath = _.indexBy(allAddresses, 'address');
|
var addressToPath = _.indexBy(allAddresses, 'address');
|
||||||
_.each(allUtxos, function(utxo) {
|
_.each(allUtxos, function(utxo) {
|
||||||
|
|
Loading…
Reference in New Issue