From 2e74c04dadcf4add756e774bea9af789b828ff65 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 6 Aug 2022 15:18:39 +0200 Subject: -initialize totals --- src/auditor/taler-helper-auditor-wire.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/auditor') diff --git a/src/auditor/taler-helper-auditor-wire.c b/src/auditor/taler-helper-auditor-wire.c index 2de52e26a..f9c87b6f0 100644 --- a/src/auditor/taler-helper-auditor-wire.c +++ b/src/auditor/taler-helper-auditor-wire.c @@ -2162,6 +2162,12 @@ begin_transaction (void) GNUNET_assert (GNUNET_OK == TALER_amount_set_zero (TALER_ARL_currency, &total_drained)); + GNUNET_assert (GNUNET_OK == + TALER_amount_set_zero (TALER_ARL_currency, + &total_wire_in)); + GNUNET_assert (GNUNET_OK == + TALER_amount_set_zero (TALER_ARL_currency, + &total_wire_out)); qs = TALER_ARL_adb->get_predicted_balance (TALER_ARL_adb->cls, &TALER_ARL_master_pub, &start_balance, -- cgit v1.2.3