Skip to content

Commit

Permalink
fixes #14
Browse files Browse the repository at this point in the history
  • Loading branch information
nosequeldeebee committed Jun 18, 2018
1 parent 356c207 commit a555824
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.env
.DS_Store
4 changes: 0 additions & 4 deletions p2p/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ func makeBasicHost(listenPort int, secio bool, randseed int64) (host.Host, error
libp2p.Identity(priv),
}

if !secio {
opts = append(opts, libp2p.NoEncryption())
}

basicHost, err := libp2p.New(context.Background(), opts...)
if err != nil {
return nil, err
Expand Down

0 comments on commit a555824

Please sign in to comment.