File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
components/chainhook-cli/src/scan Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -335,22 +335,15 @@ pub async fn scan_stacks_chainstate_via_rocksdb_using_predicate(
335335 let ( hits_per_blocks, _predicates_expired) =
336336 evaluate_stacks_chainhook_on_blocks ( blocks, predicate_spec, ctx) ;
337337
338- let events = get_signer_db_messages_received_at_block (
339- & mut db_conns. signers_db ,
340- & block_data. block_identifier ,
341- ) ?;
342- let ( hits_per_events, _) =
343- evaluate_stacks_predicate_on_non_consensus_events ( & events, predicate_spec, ctx) ;
344-
345- if hits_per_blocks. is_empty ( ) && hits_per_events. is_empty ( ) {
338+ if hits_per_blocks. is_empty ( ) {
346339 continue ;
347340 }
348341
349342 let trigger = StacksTriggerChainhook {
350343 chainhook : predicate_spec,
351344 apply : hits_per_blocks,
352345 rollback : vec ! [ ] ,
353- events : hits_per_events ,
346+ events : vec ! [ ] ,
354347 } ;
355348 let res = match handle_stacks_hook_action (
356349 trigger,
You can’t perform that action at this time.
0 commit comments