do not report missing reserve closures of amount 0.0

This commit is contained in:
Christian Grothoff 2020-02-08 17:55:22 +01:00
parent db46491db9
commit 37c2915769
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -704,6 +704,8 @@ check_pending_rc (void *cls,
TALER_amount_add (&total_closure_amount_lag, TALER_amount_add (&total_closure_amount_lag,
&total_closure_amount_lag, &total_closure_amount_lag,
&rc->amount)); &rc->amount));
if ( (0 != rc->amount.value) ||
(0 != rc->amount.fraction) )
report (report_closure_lags, report (report_closure_lags,
json_pack ("{s:I, s:o, s:o, s:o, s:s}", json_pack ("{s:I, s:o, s:o, s:o, s:s}",
"row", (json_int_t) rc->rowid, "row", (json_int_t) rc->rowid,