Skip to content

Commit

Permalink
rm last unnecessary pub from handla
Browse files Browse the repository at this point in the history
  • Loading branch information
woocash2 committed Aug 18, 2023
1 parent 8684667 commit e1adc67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consensus/src/alerts/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl<H: Hasher, D: Data, MK: MultiKeychain> Handler<H, D, MK> {
self.known_forkers.contains_key(&forker)
}

pub fn on_new_forker_detected(
fn on_new_forker_detected(
&mut self,
forker: NodeIndex,
proof: ForkProof<H, D, MK::Signature>,
Expand Down Expand Up @@ -191,7 +191,7 @@ impl<H: Hasher, D: Data, MK: MultiKeychain> Handler<H, D, MK> {
}

/// May return a `ForkingNotification`, which should be propagated
pub fn on_network_alert(
fn on_network_alert(
&mut self,
alert: UncheckedSigned<Alert<H, D, MK::Signature>, MK::Signature>,
) -> OnNetworkAlertResult<H, D, MK> {
Expand Down

0 comments on commit e1adc67

Please sign in to comment.