send list of nbBlocks to insight
This commit is contained in:
parent
ad6102c7ce
commit
4c7e7a6d2f
|
@ -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…
Reference in New Issue