Skip to content

Commit bf70c9f

Browse files
committed
Remove unused change
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent a0cbee6 commit bf70c9f

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

stacks-signer/src/v0/signer.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ pub static TEST_PAUSE_BLOCK_BROADCAST: std::sync::Mutex<Option<bool>> = std::syn
6464
/// Skip broadcasting the block to the network
6565
pub static TEST_SKIP_BLOCK_BROADCAST: std::sync::Mutex<Option<bool>> = std::sync::Mutex::new(None);
6666

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-
7267
/// The stacks signer registered for the reward cycle
7368
#[derive(Debug)]
7469
pub struct Signer {
@@ -1129,18 +1124,6 @@ impl Signer {
11291124
}
11301125
}
11311126

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-
11441127
#[cfg(any(test, feature = "testing"))]
11451128
fn test_pause_block_broadcast(&self, block_info: &BlockInfo) {
11461129
if *TEST_PAUSE_BLOCK_BROADCAST.lock().unwrap() == Some(true) {

0 commit comments

Comments
 (0)