diff options
Diffstat (limited to 'src/exchange')
-rw-r--r-- | src/exchange/taler-exchange-httpd_common_deposit.c | 2 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.c | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/exchange/taler-exchange-httpd_common_deposit.c b/src/exchange/taler-exchange-httpd_common_deposit.c index 92e2469f2..84d9448aa 100644 --- a/src/exchange/taler-exchange-httpd_common_deposit.c +++ b/src/exchange/taler-exchange-httpd_common_deposit.c @@ -240,7 +240,7 @@ TEH_common_deposit_check_purse_deposit ( GNUNET_break_op (0); return TALER_MHD_reply_with_error (connection, MHD_HTTP_BAD_REQUEST, - /* FIXME: other error code? */ + /* FIXME-Oec: other error code? */ TALER_EC_EXCHANGE_PURSE_DEPOSIT_COIN_AGE_ATTESTATION_FAILURE, "invalid attest for minimum age"); } diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c index bcdc14ece..2642f433a 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c @@ -568,10 +568,9 @@ TEH_RESPONSE_reply_coin_insufficient_funds ( json_t *history; TEH_plugin->rollback (TEH_plugin->cls); - // FIXME: maybe start read-only transaction here? if (GNUNET_OK != - TEH_plugin->start_read_committed (TEH_plugin->cls, - "get_coin_transactions")) + TEH_plugin->start_read_only (TEH_plugin->cls, + "get_coin_transactions")) { return TALER_MHD_reply_with_error ( connection, @@ -900,10 +899,9 @@ TEH_RESPONSE_reply_reserve_insufficient_balance ( enum GNUNET_DB_QueryStatus qs; MHD_RESULT mhd_ret; - // FIXME: maybe start read-committed here? if (GNUNET_OK != - TEH_plugin->start (TEH_plugin->cls, - "get_reserve_history on insufficient balance")) + TEH_plugin->start_read_only (TEH_plugin->cls, + "get_reserve_history on insufficient balance")) { GNUNET_break (0); return TALER_MHD_reply_with_error (connection, |