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
Branches
Tags
No related merge requests found
...@@ -514,15 +514,13 @@ function BlockchainService (conn, conf, IdentityService, PeeringService) { ...@@ -514,15 +514,13 @@ function BlockchainService (conn, conf, IdentityService, PeeringService) {
}); });
}, },
function (current, updates, next){ function (current, updates, next){
createNewcomerBlock(current, null, {}, updates, next); createNewcomerBlock(current, {}, updates, next);
}, },
], done); ], done);
} }
function findUpdates (done) { function findUpdates (done) {
var updates = {}; var updates = {};
done(null, [], []);
// TODO: certifications
async.waterfall([ async.waterfall([
function (next){ function (next){
Certification.findNew(next); Certification.findNew(next);
...@@ -647,7 +645,7 @@ function BlockchainService (conn, conf, IdentityService, PeeringService) { ...@@ -647,7 +645,7 @@ function BlockchainService (conn, conf, IdentityService, PeeringService) {
// First, check for members' key updates // First, check for members' key updates
findUpdateFunc(next); findUpdateFunc(next);
}, },
function (theUpdates, theSubupdates, next) { function (theUpdates, next) {
updates = theUpdates; updates = theUpdates;
findNewcomers(filteringFunc, checkingWoTFunc, next); 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