-initialize totals

This commit is contained in:
Christian Grothoff 2022-08-06 15:18:39 +02:00
parent e0a55c4240
commit 2e74c04dad
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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,