Skip to content

Commit 33a4f8b

Browse files
author
Ludo Galabru
committed
feat: inscription replay speedup
1 parent d3e998c commit 33a4f8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/chainhook-cli/src/scan/bitcoin.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ pub async fn scan_bitcoin_chainstate_via_rpc_using_predicate(
157157
};
158158

159159
if let Some(ref inscriptions_db_conn) = inscriptions_db_conn {
160-
if !get_any_entry_in_ordinal_activities(&cursor, &inscriptions_db_conn, &ctx) {}
160+
if !get_any_entry_in_ordinal_activities(&cursor, &inscriptions_db_conn, &ctx) {
161+
continue;
162+
}
161163

162164
// Evaluating every single block is required for also keeping track of transfers.
163165
let local_traverals = match find_all_inscriptions_in_block(

0 commit comments

Comments
 (0)