Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
7990195e
Commit
7990195e
authored
Sep 06, 2017
by
verysimplyms
Committed by
David Dias
Sep 06, 2017
Browse files
docs: fix typo in README
parent
f9211ef6
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/libp2p-host/README.md
View file @
7990195e
...
...
@@ -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
,
p
riv
)
ps
.
AddPubKey
(
pid
,
p
ub
)
```
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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment