summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_validation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.c')
-rw-r--r--src/transport/gnunet-service-transport_validation.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c
index cdb2fb63b..323fd042a 100644
--- a/src/transport/gnunet-service-transport_validation.c
+++ b/src/transport/gnunet-service-transport_validation.c
@@ -541,13 +541,7 @@ transmit_ping_if_allowed (void *cls,
return;
}
hello = GST_hello_get ();
- if (NULL == hello)
- {
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Not PINGing peer `%s' as our HELLO is not yet ready\n",
- GNUNET_i2s (pid));
- return;
- }
+ GNUNET_assert (NULL != hello);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Transmitting plain PING to `%s' `%s' `%s'\n",
GNUNET_i2s (pid),