Skip to content

Commit 1274cbf

Browse files
author
Ludo Galabru
committed
fix: don't enable predicate if error
1 parent e2949d2 commit 1274cbf

File tree

1 file changed

+1
-0
lines changed
  • components/chainhook-cli/src/service

1 file changed

+1
-0
lines changed

components/chainhook-cli/src/service/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ impl Service {
198198
moved_ctx.expect_logger(),
199199
"Unable to evaluate predicate on Bitcoin chainstate: {e}",
200200
);
201+
return;
201202
}
202203
};
203204
let _ = observer_command_tx.send(ObserverCommand::EnablePredicate(

0 commit comments

Comments
 (0)