Commit f4b25da8 authored by Aarsh Shah's avatar Aarsh Shah

remove network from the events

parent 3e988ff1
......@@ -6,7 +6,6 @@ import "github.com/libp2p/go-libp2p-core/network"
// from a peer. It contains the network interface for the connection,
// the connection handle & the new state of the connection.
type EvtPeerConnectionStateChange struct {
Network network.Network
Connection network.Conn
NewState network.Connectedness
}
......@@ -15,7 +14,6 @@ type EvtPeerConnectionStateChange struct {
// It contains the network interface for the connection, the stream handle &
// the new state of the stream.
type EvtStreamStateChange struct {
Network network.Network
Stream network.Stream
NewState network.Connectedness
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment