mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-05 23:52:15 +00:00
Previously, we reinserted the `Peer` in the "undo" function which is obviously wrong. This patch fixes the behaviour to be correct and adds two regression tests. Pull-Request: #3789.