diff --git a/p2phttp.go b/p2phttp.go index d6017f7..0b1c930 100644 --- a/p2phttp.go +++ b/p2phttp.go @@ -13,7 +13,7 @@ // // For example, a simple http.Server on LibP2P works as: // -// listener, _ := gostream.Listen(host1, p2phttp.P2PProtocol) +// listener, _ := gostream.Listen(host1, p2phttp.DefaultP2PProtocol) // defer listener.Close() // go func() { // http.HandleFunc("/hello", func(w http.ResponseWriter, r *http.Request) {