Skip to content

Commit 9efe016

Browse files
committed
finishing p2p handler - question
1 parent 8f03e6c commit 9efe016

11 files changed

+912
-921
lines changed

p2p/p2p.go

-3
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ func New(addr, publicAddr, version, peers, privKeyStr string, feederNode bool, b
9191
return addrs
9292
}
9393

94-
// try to instanciate snap_server here
95-
var snapServer junoSync.SnapServer = junoSync.New()
96-
9794
p2pHost, err := libp2p.New(
9895
libp2p.ListenAddrs(sourceMultiAddr),
9996
libp2p.Identity(prvKey),

0 commit comments

Comments
 (0)