@@ -400,7 +400,8 @@ where
400400 }
401401
402402 // Verify the certificate
403- if !notarization. verify( self . context. as_mut( ) , & self . scheme, & self . strategy) {
403+ if !notarization. verify( self . context. as_mut( ) , & self . scheme, & self . strategy)
404+ {
404405 commonware_p2p:: block!( self . blocker, sender, %view, "invalid notarization" ) ;
405406 continue ;
406407 }
@@ -446,7 +447,8 @@ where
446447 }
447448
448449 // Verify the certificate
449- if !finalization. verify( self . context. as_mut( ) , & self . scheme, & self . strategy) {
450+ if !finalization. verify( self . context. as_mut( ) , & self . scheme, & self . strategy)
451+ {
450452 commonware_p2p:: block!( self . blocker, sender, %view, "invalid finalization" ) ;
451453 continue ;
452454 }
@@ -503,7 +505,10 @@ where
503505 self . added. inc( ) ;
504506
505507 // Update per-peer latest vote metric (only if higher than current)
506- let _ = self . latest_vote. get_or_create_by( & sender) . try_set_max( view. get( ) ) ;
508+ let _ = self
509+ . latest_vote
510+ . get_or_create_by( & sender)
511+ . try_set_max( view. get( ) ) ;
507512
508513 // If the current leader explicitly nullifies the current view, signal
509514 // the voter so it can fast-path timeout without waiting for its local
@@ -592,9 +597,8 @@ where
592597 }
593598
594599 // Try to construct and forward certificates
595- if let Some ( notarization) = self
596- . recover_latency
597- . time_some( self . context. as_ref( ) , || {
600+ if let Some ( notarization) =
601+ self . recover_latency. time_some( self . context. as_ref( ) , || {
598602 round. try_construct_notarization( & self . scheme, & self . strategy)
599603 } )
600604 {
@@ -605,9 +609,8 @@ where
605609 . recovered( Certificate :: Notarization ( notarization) )
606610 . await ;
607611 }
608- if let Some ( nullification) = self
609- . recover_latency
610- . time_some( self . context. as_ref( ) , || {
612+ if let Some ( nullification) =
613+ self . recover_latency. time_some( self . context. as_ref( ) , || {
611614 round. try_construct_nullification( & self . scheme, & self . strategy)
612615 } )
613616 {
@@ -616,9 +619,8 @@ where
616619 . recovered( Certificate :: Nullification ( nullification) )
617620 . await ;
618621 }
619- if let Some ( finalization) = self
620- . recover_latency
621- . time_some( self . context. as_ref( ) , || {
622+ if let Some ( finalization) =
623+ self . recover_latency. time_some( self . context. as_ref( ) , || {
622624 round. try_construct_finalization( & self . scheme, & self . strategy)
623625 } )
624626 {
0 commit comments