diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-26 13:01:29 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-26 13:01:29 +0100 |
commit | 3c7f7d595f99fbe919f0540679939ffde620b398 (patch) | |
tree | 456637c9fa4ad1f502fc700f7b76d3fcc9a92d2c /src/backend/taler-merchant-httpd_pay.c | |
parent | ea3354ae0d2af69e6953514719838f74809301a9 (diff) | |
download | merchant-3c7f7d595f99fbe919f0540679939ffde620b398.tar.gz merchant-3c7f7d595f99fbe919f0540679939ffde620b398.tar.bz2 merchant-3c7f7d595f99fbe919f0540679939ffde620b398.zip |
fix fTBFSD
Diffstat (limited to 'src/backend/taler-merchant-httpd_pay.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_pay.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c index 1e1ac4c6..83cc4f42 100644 --- a/src/backend/taler-merchant-httpd_pay.c +++ b/src/backend/taler-merchant-httpd_pay.c @@ -1195,15 +1195,17 @@ process_pay_with_exchange (void *cls, "exchange_keys", TALER_EXCHANGE_get_keys_raw (mh))); return; } + // FIXME: AUDITORS_check_dk should return TALER_EC instead! if (GNUNET_OK != TMH_AUDITORS_check_dk (mh, denom_details, exchange_trusted)) { + // FIXME: and we should use THAT EC in our error code generation here! GNUNET_break_op (0); resume_pay_with_response (pc, - MHD_HTTP_BAD_REQUEST, + MHD_HTTP_FAILED_DEPENDENCY, TALER_MHD_make_json_pack ("{s:s, s:I, s:o}", "error", "invalid denomination", |