fix: off by one issue

This commit is contained in:
Ludo Galabru
2023-06-14 13:48:49 -04:00
parent 11b9b6be62
commit 155e3a6d29

View File

@@ -777,7 +777,7 @@ pub async fn fetch_and_cache_blocks_in_hord_db(
// processing.
// Should we start look for inscriptions data in blocks?
if raw_block.height as u64 > ordinal_computing_height {
if raw_block.height as u64 >= ordinal_computing_height {
if cursor == 0 {
cursor = raw_block.height;
}