Split the internet node for incoming vs outgoing connections.

This commit is contained in:
Tom Wilkie
2015-10-16 16:26:15 +00:00
committed by Tom Wilkie
parent 67c15cefc0
commit bc48a48133
6 changed files with 70 additions and 59 deletions

View File

@@ -167,7 +167,7 @@ func TestAPITopologyWebsocket(t *testing.T) {
if err := decoder.Decode(&d); err != nil {
t.Fatalf("JSON parse error: %s", err)
}
equals(t, 7, len(d.Add))
equals(t, 8, len(d.Add))
equals(t, 0, len(d.Update))
equals(t, 0, len(d.Remove))
}