File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
testnet/stacks-node/src/tests/signer Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ impl SignerTest<SpawnedSigner> {
293
293
fn mine_and_verify_confirmed_naka_block ( & mut self , timeout : Duration , num_signers : usize ) {
294
294
info ! ( "------------------------- Try mining one block -------------------------" ) ;
295
295
296
- let old_reward_cycle = self . get_current_reward_cycle ( ) ;
296
+ let reward_cycle = self . get_current_reward_cycle ( ) ;
297
297
298
298
self . mine_nakamoto_block ( timeout) ;
299
299
@@ -312,13 +312,6 @@ impl SignerTest<SpawnedSigner> {
312
312
// NOTE: signature.len() does not need to equal signers.len(); the stacks miner can finish the block
313
313
// whenever it has crossed the threshold.
314
314
assert ! ( signature. len( ) >= num_signers * 7 / 10 ) ;
315
-
316
- let new_reward_cycle = self . get_current_reward_cycle ( ) ;
317
- let reward_cycle = if new_reward_cycle != old_reward_cycle {
318
- old_reward_cycle
319
- } else {
320
- new_reward_cycle
321
- } ;
322
315
info ! (
323
316
"Verifying signatures against signers for reward cycle {:?}" ,
324
317
reward_cycle
You can’t perform that action at this time.
0 commit comments