From 6d166f62461f89ddf28bb4643a1b82f72924829a Mon Sep 17 00:00:00 2001 From: galargh Date: Tue, 22 Aug 2023 11:16:14 +0200 Subject: [PATCH] fix: libp2p.New calls --- examples/chat-app-ui/main.go | 1 - examples/chat-app/main.go | 1 - 2 files changed, 2 deletions(-) diff --git a/examples/chat-app-ui/main.go b/examples/chat-app-ui/main.go index b61ce38..0122db2 100644 --- a/examples/chat-app-ui/main.go +++ b/examples/chat-app-ui/main.go @@ -87,7 +87,6 @@ func main() { // libp2p.New constructs a new libp2p Host. // Other options can be added here. host, err := libp2p.New( - ctx, libp2p.ListenAddrs(sourceMultiAddr), libp2p.Identity(priv), ) diff --git a/examples/chat-app/main.go b/examples/chat-app/main.go index 0b15bc1..f393d65 100644 --- a/examples/chat-app/main.go +++ b/examples/chat-app/main.go @@ -94,7 +94,6 @@ func main() { // libp2p.New constructs a new libp2p Host. // Other options can be added here. host, err := libp2p.New( - ctx, libp2p.ListenAddrs(sourceMultiAddr), libp2p.Identity(priv), )