mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-29 05:37:24 +00:00
Remove NetworkSpecialization::on_event (#3976)
This commit is contained in:
committed by
Gavin Wood
parent
4264613a96
commit
eb3c950cfe
@@ -42,7 +42,8 @@ pub trait NetworkSpecialization<B: BlockT>: Send + Sync + 'static {
|
||||
);
|
||||
|
||||
/// Called when a network-specific event arrives.
|
||||
fn on_event(&mut self, event: Event);
|
||||
#[deprecated(note = "This method is never called; please use `with_dht_event_tx` when building the service")]
|
||||
fn on_event(&mut self, event: Event) {}
|
||||
|
||||
/// Called on abort.
|
||||
#[deprecated(note = "This method is never called; aborting corresponds to dropping the object")]
|
||||
|
||||
Reference in New Issue
Block a user