aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-11-17 11:31:41 +0100
committerChristian Grothoff <christian@grothoff.org>2016-11-17 11:31:41 +0100
commit21037d013d915e33c2dd3d1de5a34ed544ca6d48 (patch)
tree6ef34def7ae49468a7dcd854c224f72db5cf4c68 /src
parent5e5d6b9bf5ff373f05574e20102e3bd1371957df (diff)
fix error handling path that resulted in non-aborted transaction persisting, causing subsequent transactions to fail (#4737)
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-httpd_db.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_db.c b/src/exchange/taler-exchange-httpd_db.c
index 870f7a251..814795544 100644
--- 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;