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

Change: when receiving NEW_BACK message, send back UP message

parent 3554d39a
Branches
Tags
No related merge requests found
......@@ -161,7 +161,7 @@ function PeeringService(pgp, currency, conf) {
if (!err) {
async.parallel({
statusBack: function(callback){
if (status.status == 'NEW') {
if (~['NEW', 'NEW_BACK'].indexOf(status.status)) {
that.helloToPeer(peer, function (err) {
callback();
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment