|
|
@ -1900,8 +1900,6 @@ WalletService.prototype.scan = function(opts, cb) { |
|
|
|
}); |
|
|
|
}, function(err) { |
|
|
|
derivator.rewind(gap); |
|
|
|
console.log('*** [server.js ln1903] _.pluck(allAddresses, "path"):', _.pluck(allAddresses, "path")); // TODO
|
|
|
|
|
|
|
|
return cb(err, _.dropRight(allAddresses, gap)); |
|
|
|
}); |
|
|
|
}; |
|
|
@ -1936,8 +1934,6 @@ WalletService.prototype.scan = function(opts, cb) { |
|
|
|
|
|
|
|
async.eachSeries(derivators, function(derivator, next) { |
|
|
|
scanBranch(derivator, function(err, addresses) { |
|
|
|
console.log('*** [server.js ln1937] _.pluck(addresses, "path"):', _.pluck(addresses, "path")); // TODO
|
|
|
|
|
|
|
|
if (err) return next(err); |
|
|
|
self.storage.storeAddressAndWallet(wallet, addresses, next); |
|
|
|
}); |
|
|
|