diff --git a/app/service/BlockchainService.js b/app/service/BlockchainService.js index f9c1e95dc4240e7506408985b9d98d61668614df..ab3917150de8e9177bdf19075bc05eaf3727d945 100644 --- a/app/service/BlockchainService.js +++ b/app/service/BlockchainService.js @@ -514,15 +514,13 @@ function BlockchainService (conn, conf, IdentityService, PeeringService) { }); }, function (current, updates, next){ - createNewcomerBlock(current, null, {}, updates, next); + createNewcomerBlock(current, {}, updates, next); }, ], done); } function findUpdates (done) { var updates = {}; - done(null, [], []); - // TODO: certifications async.waterfall([ function (next){ Certification.findNew(next); @@ -647,7 +645,7 @@ function BlockchainService (conn, conf, IdentityService, PeeringService) { // First, check for members' key updates findUpdateFunc(next); }, - function (theUpdates, theSubupdates, next) { + function (theUpdates, next) { updates = theUpdates; findNewcomers(filteringFunc, checkingWoTFunc, next); },