diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-04 13:27:46 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-04 13:27:46 +0200 |
commit | 299b4b78e0e4b8f194d0f0db18e22b540b174b88 (patch) | |
tree | bee0cf9a0e984926e1af69269d745974176ce945 /src/testing/testing_api_cmd_wire.c | |
parent | 643b3e3be3e5aff3fe4074e27d867605c18cb0dc (diff) | |
download | exchange-299b4b78e0e4b8f194d0f0db18e22b540b174b88.tar.xz |
return more error details for /wire and /keys to clients
Diffstat (limited to 'src/testing/testing_api_cmd_wire.c')
-rw-r--r-- | src/testing/testing_api_cmd_wire.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_wire.c b/src/testing/testing_api_cmd_wire.c index 2d79a546f..c8946bb93 100644 --- a/src/testing/testing_api_cmd_wire.c +++ b/src/testing/testing_api_cmd_wire.c @@ -77,19 +77,22 @@ struct WireState * @param accounts_len length of the @a accounts array. * @param accounts list of wire accounts of the exchange, * NULL on error. + * @param full_reply the complete response from the exchange */ static void wire_cb (void *cls, unsigned int http_status, enum TALER_ErrorCode ec, unsigned int accounts_len, - const struct TALER_EXCHANGE_WireAccount *accounts) + const struct TALER_EXCHANGE_WireAccount *accounts, + const json_t *full_reply) { struct WireState *ws = cls; struct TALER_TESTING_Command *cmd = &ws->is->commands[ws->is->ip]; struct TALER_Amount expected_fee; (void) ec; + (void) full_reply; TALER_LOG_DEBUG ("Checking parsed /wire response\n"); ws->wh = NULL; if (ws->expected_response_code != http_status) |