Browse Source

fix issue with retrieving active addresses

activeAddress
Ivan Socolsky 9 years ago
parent
commit
4da8a37dc4
  1. 4
      lib/server.js

4
lib/server.js

@ -1059,9 +1059,9 @@ WalletService.prototype._getActiveAddresses = function(cb) {
var result = _.union(active, recent);
var index = _.indexBy(allAddresses, 'address');
result = _.map(result, function(r) {
result = _.compact(_.map(result, function(r) {
return index[r];
});
}));
return cb(null, result);
});
});

Loading…
Cancel
Save