commit 9978bc9da3fedaa4a4660670f6500b8838bbf4c8 parent 0bd3b90d5d9be07aa1be546a43559fb853e6fa8a Author: Christian Grothoff <grothoff@gnunet.org> Date: Wed, 26 Oct 2022 15:17:46 +0200 -initialize final_balance even if audit failed hard Diffstat:
| M | src/auditor/taler-helper-auditor-wire.c | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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)