diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-10-06 15:05:06 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-10-06 15:05:06 +0200 |
commit | a56e2e34bce77d41a6d3a2cbbcb89119b98ef750 (patch) | |
tree | f71989d1aa318d62d2e0e4acd94f6b6454329535 /src/exchange-lib/testing_api_cmd_track.c | |
parent | 81ce7abe190751da205bced8ca340e1cdc83e4f0 (diff) |
fix #5434 (no more salt in exchange wire replies)
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_track.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_track.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/exchange-lib/testing_api_cmd_track.c b/src/exchange-lib/testing_api_cmd_track.c index 8ce9b7bc..c7fbf408 100644 --- a/src/exchange-lib/testing_api_cmd_track.c +++ b/src/exchange-lib/testing_api_cmd_track.c @@ -328,8 +328,8 @@ track_transaction_run (void *cls, /* Should not fail here, json has been parsed already */ GNUNET_assert ( (GNUNET_OK == - TALER_JSON_wire_signature_hash (wire_details, - &h_wire_details)) && + TALER_JSON_merchant_wire_signature_hash (wire_details, + &h_wire_details)) && (GNUNET_OK == TALER_JSON_hash (j_contract_terms, &h_contract_terms)) ); @@ -614,8 +614,10 @@ track_transfer_cb return; } - if (GNUNET_OK != TALER_TESTING_get_trait_wire_details - (wire_details_cmd, 0, &wire_details)) + if (GNUNET_OK != + TALER_TESTING_get_trait_wire_details (wire_details_cmd, + 0, + &wire_details)) { GNUNET_break (0); TALER_TESTING_interpreter_fail (is); @@ -623,9 +625,9 @@ track_transfer_cb } GNUNET_assert - (GNUNET_OK == TALER_JSON_wire_signature_hash - (wire_details, - &h_wire_details)); + (GNUNET_OK == + TALER_JSON_merchant_wire_signature_hash (wire_details, + &h_wire_details)); if (0 != memcmp (&h_wire_details, h_wire, |