File tree Expand file tree Collapse file tree 3 files changed +2
-24
lines changed Expand file tree Collapse file tree 3 files changed +2
-24
lines changed Original file line number Diff line number Diff line change @@ -357,14 +357,6 @@ impl BlockMinerThread {
357
357
. block_height_to_reward_cycle ( burn_election_height)
358
358
. expect ( "FATAL: no reward cycle for sortition" ) ;
359
359
360
- #[ cfg( test) ]
361
- {
362
- info ! (
363
- "---- Fetching reward info at height {} for cycle {} ----" ,
364
- burn_election_height, reward_cycle
365
- ) ;
366
- }
367
-
368
360
let reward_info = match load_nakamoto_reward_set (
369
361
reward_cycle,
370
362
& self . burn_election_block . sortition_id ,
@@ -393,14 +385,6 @@ impl BlockMinerThread {
393
385
) ) ;
394
386
} ;
395
387
396
- #[ cfg( test) ]
397
- {
398
- info ! (
399
- "---- New reward set has {} signers ----" ,
400
- reward_set. clone( ) . signers. unwrap_or( vec![ ] ) . len( ) ,
401
- ) ;
402
- }
403
-
404
388
self . signer_set_cache = Some ( reward_set. clone ( ) ) ;
405
389
Ok ( reward_set)
406
390
}
Original file line number Diff line number Diff line change @@ -642,13 +642,6 @@ impl SignCoordinator {
642
642
counters : & Counters ,
643
643
election_sortition : & ConsensusHash ,
644
644
) -> Result < Vec < MessageSignature > , NakamotoNodeError > {
645
- #[ cfg( test) ]
646
- {
647
- info ! (
648
- "---- Sign coordinator starting. Burn tip height: {} ----" ,
649
- burn_tip. block_height
650
- ) ;
651
- }
652
645
let sign_id = Self :: get_sign_id ( burn_tip. block_height , burnchain) ;
653
646
let sign_iter_id = block_attempt;
654
647
let reward_cycle_id = burnchain
@@ -742,7 +735,7 @@ impl SignCoordinator {
742
735
continue ;
743
736
} ;
744
737
if signer_set != u32:: try_from ( reward_cycle_id % 2 ) . unwrap ( ) {
745
- info ! ( "Received signer event for other reward cycle. Ignoring." ) ;
738
+ debug ! ( "Received signer event for other reward cycle. Ignoring." ) ;
746
739
continue ;
747
740
} ;
748
741
let slot_ids = modified_slots
Original file line number Diff line number Diff line change @@ -2080,6 +2080,7 @@ fn empty_sortition() {
2080
2080
assert ! ( matches!( reason_code, RejectCode :: SortitionViewMismatch ) ) ;
2081
2081
found_rejection = true ;
2082
2082
} else {
2083
+ error ! ( "Unexpected message type: {:?}" , message) ;
2083
2084
panic ! ( "Unexpected message type" ) ;
2084
2085
}
2085
2086
}
You can’t perform that action at this time.
0 commit comments