Removed peer editing, cleanup
This commit is contained in:
@@ -280,7 +280,7 @@ func TestSwitchActiveRelay(t *testing.T) {
|
||||
t.Errorf("call[0]: got %v, want AddDirect with ep1", dev.Calls[0])
|
||||
}
|
||||
dev.AssertSetRelay(t, 1, dev.Calls[1].PubKey, ep2, a.vpnNet)
|
||||
if a.relay == nil || a.relay.Endpoint4 != ep2 {
|
||||
if a.relay == nil || a.relay.EndpointV4 != ep2 {
|
||||
t.Error("relay should be the backup peer")
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user