Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix: sync start detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfelton committed Feb 17, 2023
1 parent 3c501b9 commit 4b8292a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions services/neutrino/neutrino.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,9 +515,8 @@ class Neutrino extends EventEmitter {
line.match(/Syncing to block height (\d+)/) ||
line.match(/Starting cfilters sync at block_height=(\d+)/) ||
line.match(/Starting cfheaders sync from \(block_height=(\d+)/) ||
line.includes('Waiting for chain backend to finish sync') ||
line.includes('Waiting for block headers to sync, then will start cfheaders sync') ||
line.includes('Starting rescan from known block')
line.match(/Starting cfheaders sync from \(block_height=(\d+)/) ||
line.match(/Started rescan from block .* \(height (\d+)\)/)
if (match) {
this.setState(NEUTRINO_CHAIN_SYNC_IN_PROGRESS)

Expand Down

0 comments on commit 4b8292a

Please sign in to comment.