From 59eaa89bac017bee5d07192cbd5cf5a5c6940aac Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Mon, 17 Jun 2019 21:11:39 +0100 Subject: [PATCH] Node is a network --- network/network.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/network/network.go b/network/network.go index 7dba3276..adeb18cf 100644 --- a/network/network.go +++ b/network/network.go @@ -25,10 +25,8 @@ type Network interface { // Node represents a network node type Node interface { - // Id of the node - Id() string - // The network for this node - Network() Network + // Node is a network. Network is a node. + Network } // Message is a message sent over the network