mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-22 06:11:34 +00:00
swarm-derive/: Make event_process = false the default (#2214)
Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
@ -163,6 +163,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
|
||||
// We create a custom network behaviour that combines gossipsub, ping and identify.
|
||||
#[derive(NetworkBehaviour)]
|
||||
#[behaviour(event_process = true)]
|
||||
struct MyBehaviour {
|
||||
gossipsub: Gossipsub,
|
||||
identify: Identify,
|
||||
|
Reference in New Issue
Block a user