From 166594115404baba540968398e1fa420993fed50 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 8 Nov 2017 19:07:21 +0100 Subject: fix misc typos in auditor report logic --- src/auditor/taler-auditor.c | 14 +++++++------- src/auditor/taler-wire-auditor.c | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/auditor') diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c index e801ec77b..d33b23dff 100644 --- a/src/auditor/taler-auditor.c +++ b/src/auditor/taler-auditor.c @@ -4072,8 +4072,7 @@ run (void *cls, " s:o, s:o, s:o, s:o, s:o," " s:o, s:o, s:o, s:o, s:o," " s:o, s:o, s:o, s:o, s:o," - " s:o, s:o, s:o, s:o, s:o," - " s:o}", + " s:o, s:o, s:o, s:o, s:o}", /* blocks of 5 for easier counting/matching to format string */ /* block */ "reserve_balance_insufficient_inconsistencies", @@ -4096,8 +4095,8 @@ run (void *cls, "total_deposit_fee_income", TALER_JSON_from_amount (&total_deposit_fee_income), "total_melt_fee_income", - /* block */ TALER_JSON_from_amount (&total_melt_fee_income), + /* block */ "total_refund_fee_income", TALER_JSON_from_amount (&total_refund_fee_income), "income_fee_total", @@ -4106,9 +4105,9 @@ run (void *cls, report_emergencies, "emergencies_risk_total", TALER_JSON_from_amount (&reported_emergency_sum), - /* block */ "reserve_not_closed_inconsistencies", report_reserve_not_closed_inconsistencies, + /* block */ "total_balance_reserve_not_closed", TALER_JSON_from_amount (&total_balance_reserve_not_closed), "wire_out_inconsistencies", @@ -4117,9 +4116,9 @@ run (void *cls, TALER_JSON_from_amount (&total_wire_out_delta_plus), "total_wire_out_delta_minus", TALER_JSON_from_amount (&total_wire_out_delta_minus), - /* block */ "bad_sig_losses", report_bad_sig_losses, + /* block */ "total_bad_sig_loss", TALER_JSON_from_amount (&total_bad_sig_loss), "row_inconsistencies", @@ -4128,9 +4127,9 @@ run (void *cls, denomination_key_validity_withdraw_inconsistencies, "coin_inconsistencies", report_coin_inconsistencies, - /* block */ "total_coin_delta_plus", TALER_JSON_from_amount (&total_coin_delta_plus), + /* block */ "total_coin_delta_minus", TALER_JSON_from_amount (&total_coin_delta_minus), "amount_arithmetic_inconsistencies", @@ -4139,10 +4138,11 @@ run (void *cls, TALER_JSON_from_amount (&total_arithmetic_delta_plus), "total_arithmetic_delta_minus", TALER_JSON_from_amount (&total_arithmetic_delta_minus), - /* block */ "total_aggregation_fee_income", TALER_JSON_from_amount (&total_aggregation_fee_income) + /* block */ ); + GNUNET_break (NULL != report); json_dumpf (report, stdout, JSON_INDENT (2)); diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c index 13a293c36..f34fc7e71 100644 --- a/src/auditor/taler-wire-auditor.c +++ b/src/auditor/taler-wire-auditor.c @@ -314,7 +314,7 @@ do_shutdown (void *cls) TALER_JSON_from_amount (&total_bad_amount_out_minus), "reserve_in_amount_inconsistencies", report_reserve_in_inconsistencies, - "total_wire_in_delta_minus", + "total_wire_in_delta_plus", TALER_JSON_from_amount (&total_bad_amount_in_plus), /* block */ "total_wire_in_delta_minus", -- cgit v1.2.3