Browse Source

init blockchain explorer outside loop

activeAddress
Ivan Socolsky 10 years ago
parent
commit
56f39087cb
  1. 2
      lib/server.js

2
lib/server.js

@ -770,8 +770,8 @@ WalletService.prototype._sampleFeeLevels = function(network, points, cb) {
var self = this;
// TODO: cache blockexplorer data
async.map(points, function(p, next) {
var bc = self._getBlockchainExplorer(network);
async.map(points, function(p, next) {
bc.estimateFee(p, function(err, result) {
if (err) {
log.error('Error estimating fee', err);

Loading…
Cancel
Save