Skip to content

Commit

Permalink
remove the Process from the Network interface (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Sep 8, 2021
1 parent 52f593e commit bfef630
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"io"
"time"

"github.com/jbenet/goprocess"
"github.com/libp2p/go-libp2p-core/peer"
"github.com/libp2p/go-libp2p-core/peerstore"

Expand Down Expand Up @@ -148,8 +147,7 @@ type Network interface {
// use the known local interfaces.
InterfaceListenAddresses() ([]ma.Multiaddr, error)

// Process returns the network's Process
Process() goprocess.Process
io.Closer
}

// Dialer represents a service that can dial out to peers
Expand Down

0 comments on commit bfef630

Please sign in to comment.