File tree 2 files changed +3
-3
lines changed
components/ordhook-core/src
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,9 +146,9 @@ pub fn should_sync_ordhook_db(
146
146
147
147
148
148
// TODO: Gracefully handle Regtest, Testnet and Signet
149
- let ( mut end_block, speed) = if start_block <= 200_000 {
149
+ let ( mut end_block, speed) = if start_block < 200_000 {
150
150
( end_block. min ( 200_000 ) , 10_000 )
151
- } else if start_block <= 550_000 {
151
+ } else if start_block < 550_000 {
152
152
( end_block. min ( 550_000 ) , 1_000 )
153
153
} else {
154
154
( end_block, 100 )
Original file line number Diff line number Diff line change @@ -470,7 +470,7 @@ impl Service {
470
470
while let Some ( ( start_block, end_block, speed) ) =
471
471
should_sync_ordhook_db ( & self . config , & self . ctx ) ?
472
472
{
473
- if end_block <= last_block_processed {
473
+ if last_block_processed == end_block {
474
474
break ;
475
475
}
476
476
let blocks_post_processor = start_inscription_indexing_processor (
You can’t perform that action at this time.
0 commit comments