mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 00:41:03 +00:00
Add events for im_online (#3991)
* Add AllGood event for im_online * Another event just in case. * Bump runtime
This commit is contained in:
@@ -35,7 +35,6 @@ use sr_primitives::traits::{
|
||||
};
|
||||
use message::{BlockAnnounce, BlockAttributes, Direction, FromBlock, Message, RequestId};
|
||||
use message::generic::{Message as GenericMessage, ConsensusMessage};
|
||||
use event::Event;
|
||||
use consensus_gossip::{ConsensusGossip, MessageRecipient as GossipMessageRecipient};
|
||||
use light_dispatch::{LightDispatch, LightDispatchNetwork, RequestData};
|
||||
use specialization::NetworkSpecialization;
|
||||
|
||||
@@ -43,7 +43,7 @@ pub trait NetworkSpecialization<B: BlockT>: Send + Sync + 'static {
|
||||
|
||||
/// Called when a network-specific event arrives.
|
||||
#[deprecated(note = "This method is never called; please use `with_dht_event_tx` when building the service")]
|
||||
fn on_event(&mut self, event: Event) {}
|
||||
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