Pull algorithm is buggy
This code is buggy because current
is nulled by the algorithm.
So we see an error like:
2016-09-13T16:21:56+02:00 - warn: TypeError: Cannot read property 'number' of null
at /opt/duniter/sources/app/service/PeeringService.js:597:36
at next (native)
at onFulfilled (/opt/duniter/sources/node_modules/co/index.js:65:19)
at process._tickCallback (node.js:412:9)