Commit c20eaf46 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Fix: crash when adding keyblock (wrong callback)

parent 8feec8ac
...@@ -734,7 +734,7 @@ function KeyService (conn, conf, PublicKeyService) { ...@@ -734,7 +734,7 @@ function KeyService (conn, conf, PublicKeyService) {
function (next){ function (next){
async.parallel({ async.parallel({
outdistanced: function(callback){ outdistanced: function(callback){
Link.isOver3StepsOfAMember(key, members, next); Link.isOver3StepsOfAMember(key, members, callback);
}, },
enoughLinks: function(callback){ enoughLinks: function(callback){
checkHaveEnoughLinks(key.fingerprint, {}, function (err) { checkHaveEnoughLinks(key.fingerprint, {}, function (err) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment