diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.c | 10 |
1 files changed, 4 insertions, 6 deletions
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, |