- dont resend useless channel_destroy messages
[oweals/gnunet.git] / src / set / test_set_api.c
index 45d1d3f0cf954076fd21dbb647e14779e347a893..ec5226d50aee42a41cc37dfc05447f115c2cedcd 100644 (file)
@@ -216,7 +216,7 @@ test_iter ()
 /**
  * Signature of the 'main' function for a (single-peer) testcase that
  * is run using 'GNUNET_TESTING_peer_run'.
- * 
+ *
  * @param cls closure
  * @param cfg configuration of the peer that was started
  * @param peer identity of the peer that was created
@@ -230,7 +230,7 @@ run (void *cls,
   struct GNUNET_SET_OperationHandle *my_oh;
 
   config = cfg;
-  GNUNET_CRYPTO_get_host_identity (cfg, &local_id);
+  GNUNET_CRYPTO_get_peer_identity (cfg, &local_id);
   printf ("my id (from CRYPTO): %s\n", GNUNET_i2s (&local_id));
   GNUNET_TESTING_peer_get_identity (peer, &local_id);
   printf ("my id (from TESTING): %s\n", GNUNET_i2s (&local_id));