From 21037d013d915e33c2dd3d1de5a34ed544ca6d48 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 17 Nov 2016 11:31:41 +0100 Subject: fix error handling path that resulted in non-aborted transaction persisting, causing subsequent transactions to fail (#4737) --- src/exchange/taler-exchange-httpd_db.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/exchange') 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; -- cgit v1.2.3