Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bitswap/network: refactor connectEventManager more simply in in bsnet
I think this is fine because libp2p's .Connect call does not return before the .Connected callback has returned. This new code also have similar dedup logic and state transitions. Fixes #432
- Loading branch information