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

@ -104,7 +104,7 @@ fn main() -> Result<(), Box<dyn Error>> {
.boxed();
#[derive(NetworkBehaviour)]
#[behaviour(to_swarm = "Event", event_process = false)]
#[behaviour(to_swarm = "Event")]
struct Behaviour {
relay_client: relay::client::Behaviour,
ping: ping::Behaviour,