diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-10-26 15:17:46 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-10-26 15:17:46 +0200 |
commit | 9978bc9da3fedaa4a4660670f6500b8838bbf4c8 (patch) | |
tree | 4dc683386be9d7f80bd42ab8932b2720a2cbcd51 /src | |
parent | 0bd3b90d5d9be07aa1be546a43559fb853e6fa8a (diff) |
-initialize final_balance even if audit failed hard
Diffstat (limited to 'src')
-rw-r--r-- | src/auditor/taler-helper-auditor-wire.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/auditor/taler-helper-auditor-wire.c b/src/auditor/taler-helper-auditor-wire.c index d8d62fbe2..7d5e8a933 100644 --- a/src/auditor/taler-helper-auditor-wire.c +++ b/src/auditor/taler-helper-auditor-wire.c @@ -728,6 +728,12 @@ commit (enum GNUNET_DB_QueryStatus qs) &total_drained); } } + else + { + GNUNET_assert (GNUNET_OK == + TALER_amount_set_zero (TALER_ARL_currency, + &final_balance)); + } if (0 > qs) { if (GNUNET_DB_STATUS_SOFT_ERROR == qs) |