fix blockchain already booted

This commit is contained in:
Jonathan Rainville 2018-06-05 14:39:18 -04:00
parent d3c4f6275c
commit df3c5c2fd0
1 changed files with 2 additions and 2 deletions

View File

@ -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);
});
}
}