Skip to content

Commit

Permalink
fix: don't enable predicate if error
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Apr 14, 2023
1 parent e2949d2 commit 1274cbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/chainhook-cli/src/service/mod.rs
Expand Up @@ -198,6 +198,7 @@ impl Service {
moved_ctx.expect_logger(),
"Unable to evaluate predicate on Bitcoin chainstate: {e}",
);
return;
}
};
let _ = observer_command_tx.send(ObserverCommand::EnablePredicate(
Expand Down

0 comments on commit 1274cbf

Please sign in to comment.