File tree 1 file changed +5
-2
lines changed
components/chainhook-sdk/src/observer
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,8 @@ use crate::hord::{
19
19
HordConfig ,
20
20
} ;
21
21
use crate :: indexer:: bitcoin:: {
22
- download_and_parse_block_with_retry , standardize_bitcoin_block, BitcoinBlockFullBreakdown ,
22
+ standardize_bitcoin_block, BitcoinBlockFullBreakdown ,
23
23
} ;
24
- use crate :: indexer:: fork_scratch_pad:: ForkScratchPad ;
25
24
use crate :: indexer:: { Indexer , IndexerConfig } ;
26
25
use crate :: utils:: { send_request, Context } ;
27
26
@@ -440,13 +439,17 @@ pub fn get_bitcoin_proof(
440
439
}
441
440
}
442
441
442
+ #[ allow( unused_variables) ]
443
443
pub fn start_zeromq_runloop (
444
444
config : & EventObserverConfig ,
445
445
observer_commands_tx : Sender < ObserverCommand > ,
446
446
ctx : & Context ,
447
447
) {
448
448
#[ cfg( feature = "zeromq" ) ]
449
449
{
450
+ use crate :: indexer:: fork_scratch_pad:: ForkScratchPad ;
451
+ use crate :: indexer:: bitcoin:: download_and_parse_block_with_retry;
452
+
450
453
if let BitcoinBlockSignaling :: ZeroMQ ( ref bitcoind_zmq_url) = config. bitcoin_block_signaling
451
454
{
452
455
let bitcoind_zmq_url = bitcoind_zmq_url. clone ( ) ;
You can’t perform that action at this time.
0 commit comments