diff --git a/src/lib/testing_api_cmd_track.c b/src/lib/testing_api_cmd_track.c index 4898a097c..6afb0ac65 100644 --- a/src/lib/testing_api_cmd_track.c +++ b/src/lib/testing_api_cmd_track.c @@ -613,9 +613,8 @@ track_transfer_cb TALER_JSON_merchant_wire_signature_hash (wire_details, &h_wire_details)); - if (0 != memcmp (&h_wire_details, - h_wire, - sizeof (struct GNUNET_HashCode))) + if (0 != GNUNET_memcmp (&h_wire_details, + h_wire)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Wire hash missmath to command %s\n",