nervosnetwork / mercury

Building on top of ckb-indexer, Mercury provides handy integration features for Nervos CKB.
MIT License
23 stars 15 forks source link

fix(sync): mercury fail to start #383

Closed EthanYuan closed 2 years ago

EthanYuan commented 2 years ago

What this PR does / why we need it:

fix(sync): Mercury will fail to start when the database is newly created and the difference between node height and local db height is less than the threshold.

Which issue(s) this PR fixes:

Fixes #

Which docs this PR relation:

Ref #

Which toolchain this PR adaption:

No Breaking Change

Special notes for your reviewer: