sensor: fixes for proof-of-work, test passes now
[oweals/gnunet.git] / src / sensor / gnunet-service-sensor_reporting.c
index 6267e9f2a971241e8e82e3197b467d7bba761172..562768ff1effc15d97b4509accfb9acced3f02be 100644 (file)
@@ -607,6 +607,9 @@ handle_anomaly_report (void *cls, const struct GNUNET_PeerIdentity *other,
       GNUNET_CONTAINER_multipeermap_contains
       (my_anomaly_info->anomalous_neighbors, other);
   peer_anomalous = ntohs (arm->anomalous);
+  LOG (GNUNET_ERROR_TYPE_DEBUG,
+       "Received an anomaly update from neighbour `%s' (%d).\n",
+       GNUNET_i2s (other), peer_anomalous);
   if (GNUNET_YES == peer_anomalous)
   {
     if (GNUNET_YES == peer_in_anomalous_list)   /* repeated positive report */