File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,6 @@ pub static TEST_PAUSE_BLOCK_BROADCAST: std::sync::Mutex<Option<bool>> = std::syn
64
64
/// Skip broadcasting the block to the network
65
65
pub static TEST_SKIP_BLOCK_BROADCAST : std:: sync:: Mutex < Option < bool > > = std:: sync:: Mutex :: new ( None ) ;
66
66
67
- #[ cfg( any( test, feature = "testing" ) ) ]
68
- /// Skip any block responses from other signers
69
- pub static TEST_IGNORE_BLOCK_RESPONSES : std:: sync:: Mutex < Option < bool > > =
70
- std:: sync:: Mutex :: new ( None ) ;
71
-
72
67
/// The stacks signer registered for the reward cycle
73
68
#[ derive( Debug ) ]
74
69
pub struct Signer {
@@ -1129,18 +1124,6 @@ impl Signer {
1129
1124
}
1130
1125
}
1131
1126
1132
- #[ cfg( any( test, feature = "testing" ) ) ]
1133
- fn test_ignore_block_responses ( & self , block_response : & BlockResponse ) -> bool {
1134
- if * TEST_IGNORE_BLOCK_RESPONSES . lock ( ) . unwrap ( ) == Some ( true ) {
1135
- warn ! (
1136
- "{self}: Ignoring block response due to testing directive" ;
1137
- "block_response" => %block_response
1138
- ) ;
1139
- return true ;
1140
- }
1141
- false
1142
- }
1143
-
1144
1127
#[ cfg( any( test, feature = "testing" ) ) ]
1145
1128
fn test_pause_block_broadcast ( & self , block_info : & BlockInfo ) {
1146
1129
if * TEST_PAUSE_BLOCK_BROADCAST . lock ( ) . unwrap ( ) == Some ( true ) {
You can’t perform that action at this time.
0 commit comments