EventIndex: Move the checkpoint loading logic into the init method.

The checkpoints don't seem to be loaded anymore in the onSync method,
the reason why this has stopped working is left unexplored since loading
the checkpoints makes most sense during the initialization step anyways.
This commit is contained in:
Damir Jelić 2019-11-21 10:38:21 +01:00
parent 4039d60a43
commit 21a15fdcb4
2 changed files with 5 additions and 10 deletions

View file

@ -55,8 +55,6 @@ class EventIndexPeg {
return false;
}
console.log("EventIndex: Successfully initialized the event index");
this.index = index;
return true;