fix error handling path that resulted in non-aborted transaction persisting, causing subsequent transactions to fail (#4737)
This commit is contained in:
parent
5e5d6b9bf5
commit
21037d013d
@ -1312,6 +1312,8 @@ execute_refresh_reveal_transaction (struct MHD_Connection *connection,
|
|||||||
j);
|
j);
|
||||||
if (NULL == ev_sigs[j].rsa_signature)
|
if (NULL == ev_sigs[j].rsa_signature)
|
||||||
{
|
{
|
||||||
|
TEH_plugin->rollback (TEH_plugin->cls,
|
||||||
|
session);
|
||||||
ret = TEH_RESPONSE_reply_internal_db_error (connection,
|
ret = TEH_RESPONSE_reply_internal_db_error (connection,
|
||||||
TALER_EC_REFRESH_REVEAL_SIGNING_ERROR);
|
TALER_EC_REFRESH_REVEAL_SIGNING_ERROR);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
Loading…
Reference in New Issue
Block a user