mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-06-14 08:29:31 +08:00
fix: don't enable predicate if error
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user