diff --git a/README.md b/README.md index 9991630..634c5b5 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ You can connect to a node using the `peerId` or the `listenAddresses`: ```go peerId := "..." addrs := ["..."] -err := node1.Connect(peerId, addrs) +err := node.Connect(peerId, addrs) ``` ### Debug