Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass transport constructor to
libp2p.Security
function
`go-libp2p` versions prior to `v0.24.0` allowed to pass either a constructed security transport instance or a constructor producing such an instance. Starting from `v0.24.0` only the latter option is supported. See: https://github.com/libp2p/go-libp2p/releases/tag/v0.24.0
- Loading branch information