Commit 7990195e authored by verysimplyms's avatar verysimplyms Committed by David Dias
Browse files

docs: fix typo in README

Showing with 1 addition and 1 deletion
+1 -1
......@@ -31,7 +31,7 @@ if err != nil {
// A peerstore holds information about peers, including your own
ps := pstore.NewPeerstore()
ps.AddPrivKey(pid, priv)
ps.AddPubKey(pid, priv)
ps.AddPubKey(pid, pub)
```
Next, you'll need at least one address that you want to listen on. You can go from a string to a multiaddr like this:
......
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