summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_refresh_reveal.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-17 03:42:31 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-17 03:42:36 +0100
commit7995678e776b719145aeaf9e4409b6dd694c253e (patch)
treef2fe1d83dd130f63c9b1379fa02477857bd32ecd /src/exchange/taler-exchange-httpd_refresh_reveal.c
parentdcc80fd35dccf7c4686d267d37c95c38eb5fd36f (diff)
downloadexchange-7995678e776b719145aeaf9e4409b6dd694c253e.tar.gz
exchange-7995678e776b719145aeaf9e4409b6dd694c253e.tar.bz2
exchange-7995678e776b719145aeaf9e4409b6dd694c253e.zip
fix error code use
Diffstat (limited to 'src/exchange/taler-exchange-httpd_refresh_reveal.c')
-rw-r--r--src/exchange/taler-exchange-httpd_refresh_reveal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_refresh_reveal.c b/src/exchange/taler-exchange-httpd_refresh_reveal.c
index fb2602c61..9a8d929fb 100644
--- a/src/exchange/taler-exchange-httpd_refresh_reveal.c
+++ b/src/exchange/taler-exchange-httpd_refresh_reveal.c
@@ -608,10 +608,9 @@ handle_refresh_reveal_json (struct MHD_Connection *connection,
if (NULL == key_state)
{
TALER_LOG_ERROR ("Lacking keys to operate\n");
- /* FIXME: use correct EC code! */
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_INTERNAL_SERVER_ERROR,
- TALER_EC_REFRESH_REVEAL_SIGNING_ERROR,
+ TALER_EC_REFRESH_REVEAL_KEYS_MISSING,
"exchange lacks keys");
}