aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-08-28 15:42:15 +0200
committerChristian Grothoff <christian@grothoff.org>2024-08-28 15:43:46 +0200
commite3e66616622bc0e329b0cb374ab4a66f329c6a03 (patch)
tree18b2e101e7384293078dfedd05d17ac432cc2f2a
parentbd12cec8eb70161a1f12a215d901442b727525e9 (diff)
-rw-r--r--src/auditor/taler-helper-auditor-wire-debit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/auditor/taler-helper-auditor-wire-debit.c b/src/auditor/taler-helper-auditor-wire-debit.c
index b997f7322..2a714d3f3 100644
--- a/src/auditor/taler-helper-auditor-wire-debit.c
+++ b/src/auditor/taler-helper-auditor-wire-debit.c
@@ -527,9 +527,7 @@ commit (enum GNUNET_DB_QueryStatus qs)
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Transaction logic ended with status %d\n",
qs);
- qs = TALER_ARL_edb->commit (TALER_ARL_edb->cls);
- if (qs < 0)
- goto handle_db_error;
+ TALER_ARL_edb->rollback (TALER_ARL_edb->cls);
qs = TALER_ARL_adb->update_balance (
TALER_ARL_adb->cls,
TALER_ARL_SET_AB (total_drained),