@@ -448,7 +448,7 @@ impl Worker {
448448 self . validators . next_block_proposer ( prev_block_hash, view)
449449 }
450450
451- pub fn first_proposal_at ( & self , height : Height , view : View ) -> Option < ( SchnorrSignature , usize , Bytes ) > {
451+ fn first_proposal_at ( & self , height : Height , view : View ) -> Option < ( SchnorrSignature , usize , Bytes ) > {
452452 let vote_step = VoteStep {
453453 height,
454454 view,
@@ -475,19 +475,19 @@ impl Worker {
475475 . any ( |proposal| proposal. on . block_hash . expect ( "Proposal message always include block hash" ) == block_hash)
476476 }
477477
478- pub fn vote_step ( & self ) -> VoteStep {
478+ fn vote_step ( & self ) -> VoteStep {
479479 VoteStep {
480480 height : self . height ,
481481 view : self . view ,
482482 step : self . step . to_step ( ) ,
483483 }
484484 }
485485
486- pub fn need_proposal ( & self ) -> bool {
486+ fn need_proposal ( & self ) -> bool {
487487 self . proposal . is_none ( ) && !self . step . is_commit ( )
488488 }
489489
490- pub fn get_all_votes_and_authors (
490+ fn get_all_votes_and_authors (
491491 & self ,
492492 vote_step : & VoteStep ,
493493 requested : & BitSet ,
@@ -930,7 +930,7 @@ impl Worker {
930930 }
931931 }
932932
933- pub fn on_imported_proposal ( & mut self , proposal : & Header ) {
933+ fn on_imported_proposal ( & mut self , proposal : & Header ) {
934934 if proposal. number ( ) < 1 {
935935 return
936936 }
0 commit comments