1212extern crate lazy_static;
1313extern crate log;
1414
15- use log:: { Log , trace} ;
15+ use log:: trace;
1616use std:: collections:: { HashMap , HashSet } ;
1717use std:: str:: FromStr ;
1818
@@ -33,8 +33,7 @@ use dashcore_rpc::{
3333use dashcore_rpc:: dashcore:: address:: NetworkUnchecked ;
3434use dashcore_rpc:: dashcore:: { BlockHash , ProTxHash , QuorumHash , ScriptBuf } ;
3535use dashcore_rpc:: dashcore_rpc_json:: {
36- GetBlockTemplateModes , GetBlockTemplateRules , ProTxInfo , ProTxRevokeReason , QuorumType ,
37- ScanTxOutRequest ,
36+ GetBlockTemplateModes , GetBlockTemplateRules , ProTxInfo , ProTxRevokeReason , ScanTxOutRequest ,
3837} ;
3938use dashcore_rpc:: json:: ProTxListType ;
4039use dashcore_rpc:: json:: QuorumType :: LlmqTest ;
@@ -76,16 +75,6 @@ impl log::Log for StdLogger {
7675
7776static LOGGER : StdLogger = StdLogger ;
7877
79- /// Assert that the call returns a "deprecated" error.
80- macro_rules! assert_deprecated {
81- ( $call: expr) => {
82- match $call. unwrap_err( ) {
83- Error :: JsonRpc ( JsonRpcError :: Rpc ( ref e) ) if e. code == -32 => { }
84- e => panic!( "expected deprecated error for {}, got: {}" , stringify!( $call) , e) ,
85- }
86- } ;
87- }
88-
8978/// Assert that the call returns a "method not found" error.
9079macro_rules! assert_not_found {
9180 ( $call: expr) => {
@@ -1421,7 +1410,7 @@ fn test_get_quorum_dkgstatus(cl: &Client) {
14211410 // assert!(quorum_dkgstatus.minable_commitments.len() >= 0);
14221411}
14231412
1424- fn test_get_quorum_sign ( cl : & Client , wallet_client : & Client ) {
1413+ fn test_get_quorum_sign ( cl : & Client , _wallet_client : & Client ) {
14251414 let list = cl. get_quorum_list ( Some ( 1 ) ) . unwrap ( ) ;
14261415 let quorum_type = list. quorums_by_type . keys ( ) . next ( ) . unwrap ( ) . to_owned ( ) ;
14271416
@@ -1533,9 +1522,9 @@ fn test_get_protx_info(cl: &Client) {
15331522 let ProTxInfo {
15341523 pro_tx_hash : _,
15351524 collateral_hash : _,
1536- collateral_index,
1525+ collateral_index : _ ,
15371526 collateral_address : _,
1538- operator_reward,
1527+ operator_reward : _ ,
15391528 state : _,
15401529 confirmations : _,
15411530 wallet : _,
0 commit comments