You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…1681)
* core-derive: use full qualified name when polling NetworkBehaviour
If the users define a custom poll method also named in `poll` like
`#[behaviour(poll_method = "poll")`, it will cause issues as the wrong
`poll` method being called.
So use full qualified name to avoid ambiguity.
Fixes#1679.
* Update changelog for patch release.
Co-authored-by: Max Inden <mail@max-inden.de>
Co-authored-by: Roman S. Borschel <roman@parity.io>
Below is an example to reproduce this bug. Here there are two structures that derive
NetworkBehaviour
in a nested fashion.src/main.rs
Cargo.toml
Running the above example, we get the following output, which means that neither of the
inject_event
function is called.If we change the swarm to use
Foo
directly, that is:We got the normal behaviour:
The text was updated successfully, but these errors were encountered: