Skip to content
Snippets Groups Projects
Commit 20a4d2ca authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Fix: updates were always empty

parent 5f5eb2be
No related branches found
No related tags found
No related merge requests found
......@@ -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);
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment