mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 01:51:23 +00:00
fix: remove obsolete event_process = false
The `libp2p-swarm-derive` `event_process` option was removed in https://github.com/libp2p/rust-libp2p/pull/2840. Pull-Request: #3984.
This commit is contained in:
@ -136,11 +136,7 @@ fn build_client() -> Swarm<Client> {
|
||||
}
|
||||
|
||||
#[derive(NetworkBehaviour)]
|
||||
#[behaviour(
|
||||
to_swarm = "ClientEvent",
|
||||
event_process = false,
|
||||
prelude = "libp2p_swarm::derive_prelude"
|
||||
)]
|
||||
#[behaviour(to_swarm = "ClientEvent", prelude = "libp2p_swarm::derive_prelude")]
|
||||
struct Client {
|
||||
relay: relay::client::Behaviour,
|
||||
dcutr: dcutr::Behaviour,
|
||||
|
Reference in New Issue
Block a user