mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2025-01-11 01:06:23 +00:00
240ec84ffb
* Remove unused connections in pubsubpeer, also removed wrong usages, add a disconnect bad peers parameter * handle exceptions in disconnectPeer * small fix * use the proper disconnection procedure for gossip peers * fixes, more metrics add test about disconnection * hot fix possible null pointers in switch * silly isnil sugar * Fix and test gossip directPeer connections