refactor: we don't need to define Node() twice
This commit is contained in:
parent
123f28ac19
commit
cd71371768
|
@ -11,7 +11,6 @@ import (
|
|||
//go:generate mockgen -source=p2p.go -destination=../mocks/interfaces/p2p.go -package=interfaces
|
||||
|
||||
type P2PService interface {
|
||||
Node() Node
|
||||
Peers() structs.Map
|
||||
ConnectToNode(connectionUris []*url.URL, retried bool) error
|
||||
OnNewPeer(peer net.Peer, verifyId bool) error
|
||||
|
|
Loading…
Reference in New Issue