Browse Source

Fixed typo.

pull/260/head
Errol Chevannes 7 years ago
committed by GitHub
parent
commit
835b66ab73
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/libp2p-host/README.md

2
examples/libp2p-host/README.md

@ -59,7 +59,7 @@ import (
ctx := context.Background()
// Put all this together
netw, err := swarm.NewNetwork(ctx, []ma.Multiaddr{maddr}, ident.ID(), ps, nil)
netw, err := swarm.NewNetwork(ctx, []ma.Multiaddr{maddr}, pid, ps, nil)
if err != nil {
panic(err)
}

Loading…
Cancel
Save