Fixed typo.
This commit is contained in:
parent
8850e513e1
commit
835b66ab73
|
@ -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…
Reference in New Issue