Print model statistics

This commit is contained in:
Jakob Borg
2013-12-30 09:30:29 -05:00
parent 1c757db153
commit 707e992f19
3 changed files with 85 additions and 22 deletions

View File

@@ -286,8 +286,8 @@ func connect(myID string, addr string, nodeAddrs map[string][]string, m *Model,
}
nc := protocol.NewConnection(nodeID, conn, conn, m)
okln("Connected to node", remoteID, "(out)")
m.AddNode(nc)
okln("Connected to node", remoteID, "(out)")
continue nextNode
}
}