From 7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 30 May 2022 16:31:24 +0200 Subject: -generate 404 on non-existing accounts for fakebank, use payto://-URIs with receiver-name in tests --- src/exchange/taler-exchange-wirewatch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/exchange') diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c index 342068cad..c69ce1ac8 100644 --- a/src/exchange/taler-exchange-wirewatch.c +++ b/src/exchange/taler-exchange-wirewatch.c @@ -623,8 +623,9 @@ history_cb (void *cls, if (NULL == details) { wa->hh = NULL; - if ( (TALER_EC_NONE != ec) || - (MHD_HTTP_OK != http_status) ) + if ( (MHD_HTTP_NO_CONTENT != http_status) && + ( (TALER_EC_NONE != ec) || + (MHD_HTTP_OK != http_status) ) ) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Error fetching history: %s (%u)\n", -- cgit v1.2.3