File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ impl ChainhookPredicateFile {
257257 self . extract_exact_matching_rule ( specs) ?,
258258 ) ) ) ;
259259 return Ok ( predicate) ;
260- } else if let Some ( ref specs ) = self . protocol {
260+ } else if let Some ( ref _specs ) = self . protocol {
261261 let predicate = BitcoinPredicateType :: Protocol ( Protocols :: Ordinal (
262262 OrdinalOperations :: InscriptionRevealed ,
263263 ) ) ;
@@ -300,6 +300,7 @@ impl ChainhookPredicateFile {
300300 return Err ( format ! ( "predicate rule not specified (equals)" ) ) ;
301301 }
302302
303+ #[ allow( dead_code) ]
303304 pub fn extract_scope ( & self ) -> Result < Scope , String > {
304305 if let Some ( ref scope) = self . scope {
305306 let scope = match scope. as_str ( ) {
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ use clarinet_utils::get_bip39_seed_from_mnemonic;
2929use clarity_repl:: analysis:: call_checker:: ContractAnalysis ;
3030use clarity_repl:: clarity:: address:: AddressHashMode ;
3131use clarity_repl:: clarity:: stacks_common:: types:: chainstate:: StacksAddress ;
32- use clarity_repl:: clarity:: util:: hash:: bytes_to_hex;
3332use clarity_repl:: clarity:: util:: secp256k1:: Secp256k1PublicKey ;
3433use clarity_repl:: clarity:: vm:: analysis:: AnalysisDatabase ;
3534use clarity_repl:: clarity:: vm:: costs:: LimitedCostTracker ;
@@ -1328,6 +1327,7 @@ pub fn main() {
13281327 ) ) {
13291328 Ok ( _) => { }
13301329 Err ( e) => {
1330+ println ! ( "prepare subnet node: {}" , e) ;
13311331 process:: exit ( 1 ) ;
13321332 }
13331333 } ;
Original file line number Diff line number Diff line change @@ -2648,7 +2648,7 @@ events_keys = ["*"]
26482648 . to_string ( ) ;
26492649 checksum
26502650 }
2651- Err ( e ) => {
2651+ Err ( _e ) => {
26522652 panic ! ( )
26532653 }
26542654 } ;
@@ -2678,7 +2678,7 @@ events_keys = ["*"]
26782678 . map_err ( |e| format ! ( "unable to send 'importdescriptors' request ({})" , e) ) ;
26792679
26802680 match rpc_call {
2681- Ok ( r ) => {
2681+ Ok ( _r ) => {
26822682 break ;
26832683 }
26842684 Err ( e) => {
@@ -2735,7 +2735,7 @@ events_keys = ["*"]
27352735 . to_string ( ) ;
27362736 checksum
27372737 }
2738- Err ( e ) => {
2738+ Err ( _e ) => {
27392739 panic ! ( )
27402740 }
27412741 } ;
@@ -2765,7 +2765,7 @@ events_keys = ["*"]
27652765 . map_err ( |e| format ! ( "unable to send 'importdescriptors' request ({})" , e) ) ;
27662766
27672767 match rpc_call {
2768- Ok ( r ) => {
2768+ Ok ( _r ) => {
27692769 break ;
27702770 }
27712771 Err ( e) => {
@@ -2826,7 +2826,7 @@ events_keys = ["*"]
28262826 . to_string ( ) ;
28272827 checksum
28282828 }
2829- Err ( e ) => {
2829+ Err ( _e ) => {
28302830 panic ! ( )
28312831 }
28322832 } ;
@@ -2856,7 +2856,7 @@ events_keys = ["*"]
28562856 . map_err ( |e| format ! ( "unable to send 'importdescriptors' request ({})" , e) ) ;
28572857
28582858 match rpc_call {
2859- Ok ( r ) => {
2859+ Ok ( _r ) => {
28602860 break ;
28612861 }
28622862 Err ( e) => {
You can’t perform that action at this time.
0 commit comments