|
@ -1037,7 +1037,6 @@ WalletService.prototype._getActiveAddresses = function(cb) { |
|
|
|
|
|
|
|
|
var result = _.union(active, recent); |
|
|
var result = _.union(active, recent); |
|
|
|
|
|
|
|
|
// HACK: translate result into Address objects, TODO!! should work with strings
|
|
|
|
|
|
var index = _.indexBy(allAddresses, 'address'); |
|
|
var index = _.indexBy(allAddresses, 'address'); |
|
|
result = _.map(result, function(r) { |
|
|
result = _.map(result, function(r) { |
|
|
return index[r]; |
|
|
return index[r]; |
|
|