aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/test/interface.go')
-rw-r--r--core/test/interface.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/test/interface.go b/core/test/interface.go
index 0712ad5..58a3ced 100644
--- a/core/test/interface.go
+++ b/core/test/interface.go
@@ -94,6 +94,8 @@ type Transport interface {
// This method should be accessed after ether 'Join' or 'WaitForPeers'
// returned.
Peers() []crypto.PublicKey
+
+ Disconnect(endpoint types.NodeID)
}
// Marshaller defines an interface to convert between interface{} and []byte.