add coin to getUtxo
This commit is contained in:
parent
c6269a39a5
commit
570c8c193f
|
@ -1077,7 +1077,8 @@ WalletService.prototype._getUtxos = function(coin, addresses, cb) {
|
|||
var self = this;
|
||||
|
||||
if (addresses.length == 0) return cb(null, []);
|
||||
var networkName = Bitcore.Address(addresses[0]).toObject().network;
|
||||
|
||||
var networkName = Bitcore_[coin].Address(addresses[0]).toObject().network;
|
||||
|
||||
var bc = self._getBlockchainExplorer(coin, networkName);
|
||||
if (!bc) return cb(new Error('Could not get blockchain explorer instance'));
|
||||
|
|
Loading…
Reference in New Issue