diff --git a/blockchain/src/webhooks/index.ts b/blockchain/src/webhooks/index.ts index a6e4bb43..525e100d 100755 --- a/blockchain/src/webhooks/index.ts +++ b/blockchain/src/webhooks/index.ts @@ -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;