do not report missing reserve closures of amount 0.0
This commit is contained in:
parent
db46491db9
commit
37c2915769
@ -704,13 +704,15 @@ 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));
|
||||||
report (report_closure_lags,
|
if ( (0 != rc->amount.value) ||
|
||||||
json_pack ("{s:I, s:o, s:o, s:o, s:s}",
|
(0 != rc->amount.fraction) )
|
||||||
"row", (json_int_t) rc->rowid,
|
report (report_closure_lags,
|
||||||
"amount", TALER_JSON_from_amount (&rc->amount),
|
json_pack ("{s:I, s:o, s:o, s:o, s:s}",
|
||||||
"deadline", json_from_time_abs (rc->execution_date),
|
"row", (json_int_t) rc->rowid,
|
||||||
"wtid", GNUNET_JSON_from_data_auto (&rc->wtid),
|
"amount", TALER_JSON_from_amount (&rc->amount),
|
||||||
"account", rc->receiver_account));
|
"deadline", json_from_time_abs (rc->execution_date),
|
||||||
|
"wtid", GNUNET_JSON_from_data_auto (&rc->wtid),
|
||||||
|
"account", rc->receiver_account));
|
||||||
pp.last_reserve_close_uuid
|
pp.last_reserve_close_uuid
|
||||||
= GNUNET_MIN (pp.last_reserve_close_uuid,
|
= GNUNET_MIN (pp.last_reserve_close_uuid,
|
||||||
rc->rowid);
|
rc->rowid);
|
||||||
|
Loading…
Reference in New Issue
Block a user