-actually, can be zero on refund...

This commit is contained in:
Christian Grothoff 2022-08-23 14:38:02 +02:00
parent f9774ded37
commit a8076ec01e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -622,9 +622,6 @@ do_aggregate (struct AggregationUnit *au)
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Aggregation total is %s.\n", "Aggregation total is %s.\n",
TALER_amount2s (&au->total_amount)); TALER_amount2s (&au->total_amount));
/* Deposit was 'ready', so clearly the total
aggregated must be non-zero. */
GNUNET_assert (! TALER_amount_is_zero (&au->total_amount));
/* Subtract wire transfer fee and round to the unit supported by the /* Subtract wire transfer fee and round to the unit supported by the
wire transfer method; Check if after rounding down, we still have wire transfer method; Check if after rounding down, we still have
an amount to transfer, and if not mark as 'tiny'. */ an amount to transfer, and if not mark as 'tiny'. */