summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_transfer_get.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-31 00:21:46 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-31 00:21:46 +0200
commit41bfdb450969f427005e8c4ac8948f3cf2e51e1d (patch)
tree72935921e8f043b19684f98f087ebf9a64e379b2 /src/testing/testing_api_cmd_transfer_get.c
parent2faf102a05865b68e90ef48f292678dd1da6356e (diff)
downloadexchange-41bfdb450969f427005e8c4ac8948f3cf2e51e1d.tar.gz
exchange-41bfdb450969f427005e8c4ac8948f3cf2e51e1d.tar.bz2
exchange-41bfdb450969f427005e8c4ac8948f3cf2e51e1d.zip
-fix FTBFS issues
Diffstat (limited to 'src/testing/testing_api_cmd_transfer_get.c')
-rw-r--r--src/testing/testing_api_cmd_transfer_get.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/testing/testing_api_cmd_transfer_get.c b/src/testing/testing_api_cmd_transfer_get.c
index 10a9d8261..580f6ee85 100644
--- a/src/testing/testing_api_cmd_transfer_get.c
+++ b/src/testing/testing_api_cmd_transfer_get.c
@@ -218,8 +218,8 @@ track_transfer_cb (void *cls,
if (NULL != tts->wire_details_reference)
{
const struct TALER_TESTING_Command *wire_details_cmd;
- const json_t *wire_details;
- struct TALER_MerchantWireHash h_wire_details;
+ const char **payto_uri;
+ struct TALER_PaytoHash h_payto;
wire_details_cmd
= TALER_TESTING_interpreter_lookup_command (is,
@@ -231,18 +231,17 @@ track_transfer_cb (void *cls,
return;
}
if (GNUNET_OK !=
- TALER_TESTING_get_trait_wire_details (wire_details_cmd,
- &wire_details))
+ TALER_TESTING_get_trait_payto_uri (wire_details_cmd,
+ &payto_uri))
{
GNUNET_break (0);
TALER_TESTING_interpreter_fail (is);
return;
}
- GNUNET_assert (GNUNET_OK ==
- TALER_JSON_merchant_wire_signature_hash (wire_details,
- &h_wire_details));
- if (0 != GNUNET_memcmp (&h_wire_details,
- &ta->h_wire))
+ TALER_payto_hash (*payto_uri,
+ &h_payto);
+ if (0 != GNUNET_memcmp (&h_payto,
+ &ta->h_payto))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Wire hash missmath to command %s\n",