We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e438db7 commit 30557f8Copy full SHA for 30557f8
components/chainhook-cli/src/service/mod.rs
@@ -259,7 +259,15 @@ impl Service {
259
}
260
match chainhook {
261
ChainhookSpecification::Stacks(predicate_spec) => {
262
- let _ = stacks_scan_op_tx.send((predicate_spec, api_key));
+ // let _ = stacks_scan_op_tx.send((predicate_spec, api_key));
263
+ info!(
264
+ self.ctx.expect_logger(),
265
+ "Enabling stacks predicate {}", predicate_spec.uuid
266
+ );
267
+ let _ = observer_command_tx.send(ObserverCommand::EnablePredicate(
268
+ ChainhookSpecification::Stacks(predicate_spec),
269
+ api_key,
270
+ ));
271
272
ChainhookSpecification::Bitcoin(predicate_spec) => {
273
let _ = bitcoin_scan_op_tx.send((predicate_spec, api_key));
0 commit comments