Browse Source

docs: fix typo in README

pull/228/head
verysimplyms 7 years ago
committed by David Dias
parent
commit
7990195e5f
  1. 2
      examples/libp2p-host/README.md

2
examples/libp2p-host/README.md

@ -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:

Loading…
Cancel
Save