From df3c5c2fd0902bd4d8bd02874ebcf998974b144a Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 5 Jun 2018 14:39:18 -0400 Subject: [PATCH] fix blockchain already booted --- lib/core/services_monitor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/services_monitor.js b/lib/core/services_monitor.js index 7997859c0..046a7feb1 100644 --- a/lib/core/services_monitor.js +++ b/lib/core/services_monitor.js @@ -11,8 +11,8 @@ class ServicesMonitor { this.checkState = {}; this.working = false; - self.events.setCommandHandler("services:register", (checkName, checkFn, time) => { - self.addCheck(checkName, checkFn, time); + self.events.setCommandHandler("services:register", (checkName, checkFn, time, initialStatus) => { + self.addCheck(checkName, checkFn, time, initialStatus); }); } }