Commit 45f9c901 authored by Yusef Napora's avatar Yusef Napora

fix whitespace

parent edb8780a
......@@ -58,9 +58,9 @@ To explicitly enable the TCP transport while constructing a host, use the
``` go
import (
"context"
"context"
libp2p "github.com/libp2p/go-libp2p"
libp2p "github.com/libp2p/go-libp2p"
tcp "github.com/libp2p/go-tcp-transport"
)
......@@ -78,9 +78,9 @@ transport. To add multiple tranports, use `ChainOptions`:
``` go
// TCP and QUIC:
h, err := libp2p.New(ctx,
libp2p.ChainOptions(
libp2p.Transport(tcp.NewTCPTransport),
libp2p.Transport(quic.NewTransport)) // see https://github.com/libp2p/go-libp2p-quic-transport
libp2p.ChainOptions(
libp2p.Transport(tcp.NewTCPTransport),
libp2p.Transport(quic.NewTransport)) // see https://github.com/libp2p/go-libp2p-quic-transport
)
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment