Browse Source

add coin to getUtxo

feat/estimateFee-limit
matiu 7 years ago
parent
commit
570c8c193f
  1. 3
      lib/server.js

3
lib/server.js

@ -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…
Cancel
Save