From 299b4b78e0e4b8f194d0f0db18e22b540b174b88 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 4 Apr 2020 13:27:46 +0200 Subject: return more error details for /wire and /keys to clients --- src/testing/testing_api_cmd_wire.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/testing/testing_api_cmd_wire.c') diff --git a/src/testing/testing_api_cmd_wire.c b/src/testing/testing_api_cmd_wire.c index 2d79a546..c8946bb9 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) -- cgit v1.2.3