summaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-08-06 15:18:39 +0200
committerChristian Grothoff <christian@grothoff.org>2022-08-06 15:18:39 +0200
commit2e74c04dadcf4add756e774bea9af789b828ff65 (patch)
tree24e139c93706c9a7e9ae7df59ddb58360b930fdc /src/auditor
parente0a55c424089443fc1646d2a5b84d35bf1cc275e (diff)
downloadexchange-2e74c04dadcf4add756e774bea9af789b828ff65.tar.gz
exchange-2e74c04dadcf4add756e774bea9af789b828ff65.tar.bz2
exchange-2e74c04dadcf4add756e774bea9af789b828ff65.zip
-initialize totals
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/taler-helper-auditor-wire.c6
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 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,