fix: don't enable predicate if error

This commit is contained in:
Ludo Galabru
2023-04-13 22:40:16 -04:00
parent e2949d213a
commit 1274cbf9c4

View File

@@ -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(