diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-17 03:42:31 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-17 03:42:36 +0100 |
commit | 7995678e776b719145aeaf9e4409b6dd694c253e (patch) | |
tree | f2fe1d83dd130f63c9b1379fa02477857bd32ecd /src/exchange/taler-exchange-httpd_refresh_reveal.c | |
parent | dcc80fd35dccf7c4686d267d37c95c38eb5fd36f (diff) | |
download | exchange-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.c | 3 |
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"); } |