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:
Max Inden
2023-05-25 07:44:54 +02:00
committed by GitHub
parent 67b26cce4f
commit fc386a51a7
3 changed files with 3 additions and 11 deletions

View File

@ -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,