Update forwarder.go

This commit is contained in:
nickname32 2020-09-20 15:15:44 +03:00 committed by GitHub
parent a52ffaee0c
commit 0c53dd690a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,6 +165,9 @@ func createLibp2pHost(ctx context.Context, priv crypto.PrivKey) (host.Host, erro
"/ip4/0.0.0.0/tcp/0",
"/ip6/::/tcp/0",
"/ip4/0.0.0.0/tcp/0/ws",
"/ip6/::/tcp/0/ws",
),
libp2p.Transport(libp2pquic.NewTransport),