summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 8d82bdb..2ea98f2 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -409,9 +409,6 @@ static inline void update_time(fastd_context_t *ctx) {
static void send_handshake(fastd_context_t *ctx, fastd_peer_t *peer) {
if (!fastd_peer_is_established(peer)) {
- if (!peer->next_remote)
- exit_bug(ctx, "send_handshake: no remote");
-
fastd_peer_claim_address(ctx, peer, NULL, NULL, &peer->next_remote->addresses[peer->next_remote->current_address]);
fastd_peer_reset_socket(ctx, peer);
}