Skip to content

Commit

Permalink
rm unnecessary pub
Browse files Browse the repository at this point in the history
  • Loading branch information
woocash2 committed Aug 17, 2023
1 parent 722fac5 commit 6628e09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions consensus/src/alerts/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl<H: Hasher, D: Data, MK: MultiKeychain> Service<H, D, MK> {

// methods related to message passing

pub fn rmc_message_to_network(
fn rmc_message_to_network(
&mut self,
message: RmcMessage<H::Hash, MK::Signature, MK::PartialMultisignature>,
) {
Expand All @@ -68,7 +68,7 @@ impl<H: Hasher, D: Data, MK: MultiKeychain> Service<H, D, MK> {
);
}

pub fn send_notification_for_units(
fn send_notification_for_units(
&mut self,
notification: ForkingNotification<H, D, MK::Signature>,
) {
Expand All @@ -86,7 +86,7 @@ impl<H: Hasher, D: Data, MK: MultiKeychain> Service<H, D, MK> {
}
}

pub fn send_message_for_network(
fn send_message_for_network(
&mut self,
message: AlertMessage<H, D, MK::Signature, MK::PartialMultisignature>,
recipient: Recipient,
Expand Down

0 comments on commit 6628e09

Please sign in to comment.