Browse Source

send list of nbBlocks to insight

activeAddress
Ivan Socolsky 10 years ago
parent
commit
4c7e7a6d2f
  1. 2
      lib/blockchainexplorers/insight.js

2
lib/blockchainexplorers/insight.js

@ -108,7 +108,7 @@ Insight.prototype.getAddressActivity = function(addresses, cb) {
Insight.prototype.estimateFee = function(nbBlocks, cb) { Insight.prototype.estimateFee = function(nbBlocks, cb) {
var url = this.url + '/api/utils/estimatefee'; var url = this.url + '/api/utils/estimatefee';
if (nbBlocks) { if (nbBlocks) {
url += '?nbBlocks=' + nbBlocks; url += '?nbBlocks=' + [].concat(nbBlocks).join(',');
} }
var args = { var args = {

Loading…
Cancel
Save