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

Fix #223 missed a case

parent 98fcf321
No related branches found
No related tags found
No related merge requests found
...@@ -279,6 +279,12 @@ function PeeringService(server, pair, dal) { ...@@ -279,6 +279,12 @@ function PeeringService(server, pair, dal) {
} }
} catch (err) { } catch (err) {
logger.warn(err); logger.warn(err);
try {
let nowCurrent = yield dal.getCurrentBlockOrNull();
yield server.BlockchainService.tryToFork(nowCurrent);
} catch (e) {
logger.warn(e);
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment