commit 21037d013d915e33c2dd3d1de5a34ed544ca6d48
parent 5e5d6b9bf5ff373f05574e20102e3bd1371957df
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 17 Nov 2016 11:31:41 +0100
fix error handling path that resulted in non-aborted transaction persisting, causing subsequent transactions to fail (#4737)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_db.c b/src/exchange/taler-exchange-httpd_db.c
@@ -1312,6 +1312,8 @@ execute_refresh_reveal_transaction (struct MHD_Connection *connection,
j);
if (NULL == ev_sigs[j].rsa_signature)
{
+ TEH_plugin->rollback (TEH_plugin->cls,
+ session);
ret = TEH_RESPONSE_reply_internal_db_error (connection,
TALER_EC_REFRESH_REVEAL_SIGNING_ERROR);
goto cleanup;