Watcher zero fix (#383)

This commit is contained in:
William O'Beirne 2019-03-14 23:37:37 -04:00 committed by Daniel Ternyak
parent 1d07997a7a
commit aff973182d
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export async function start() {
initNotifiers();
let { startingBlockHeight } = store.getState();
while (!startingBlockHeight) {
while (startingBlockHeight === undefined || startingBlockHeight === null) {
await requestBootstrap();
await sleep(10000);
startingBlockHeight = store.getState().startingBlockHeight;