From c5214c931f4f3239f13b70edf29cad7f474980fb Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Tue, 9 Jul 2019 16:38:44 +0100 Subject: [PATCH] reorder and reword --- network/network.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/network.go b/network/network.go index b7f7357c..164c8a98 100644 --- a/network/network.go +++ b/network/network.go @@ -11,10 +11,10 @@ import ( // is responsible for routing messages to the correct services. type Network interface { options.Options - // Create starts the network and creates a new node - Create() (*Node, error) // Name of the network Name() string + // Create returns a new network node id/address + Create() (*Node, error) // Connect to a node on the network Connect(*Node) (Conn, error) // Listen for connections for this node