diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-28 20:02:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-28 20:02:08 +0200 |
commit | 581a39b5b5037d4e0419d8ce5448371a52499d80 (patch) | |
tree | 1cd2e034e527f87f0d51f61e7ebc556383041bda /src/auditor/taler-helper-auditor-wire.c | |
parent | 1ef9735115730c5d236791ce0c4353d548110159 (diff) | |
download | exchange-581a39b5b5037d4e0419d8ce5448371a52499d80.tar.xz |
improve reporting, also use auditor fee calculation when computing reserve balance updates in case of disagreement on coin value/fee
Diffstat (limited to 'src/auditor/taler-helper-auditor-wire.c')
-rw-r--r-- | src/auditor/taler-helper-auditor-wire.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/auditor/taler-helper-auditor-wire.c b/src/auditor/taler-helper-auditor-wire.c index 5e5d16748..1facd2155 100644 --- a/src/auditor/taler-helper-auditor-wire.c +++ b/src/auditor/taler-helper-auditor-wire.c @@ -1017,7 +1017,7 @@ wire_out_cb (void *cls, we should count the wire transfer as entirely spurious, and additionally consider the justified wire transfer as missing. */ TALER_ARL_report (report_wire_out_inconsistencies, - json_pack ("{s:I, s:o, s:o, s:o, s:o, s:s, s:s}", + json_pack ("{s:I, s:o, s:o, s:o, s:o, s:s, s:s, s:s}", "row", (json_int_t) rowid, "amount_wired", TALER_JSON_from_amount ( &roi->details.amount), @@ -1027,12 +1027,13 @@ wire_out_cb (void *cls, "timestamp", TALER_ARL_json_from_time_abs ( date), "diagnostic", "receiver account mismatch", + "target", payto_uri, "account_section", wa->section_name)); TALER_ARL_amount_add (&total_bad_amount_out_plus, &total_bad_amount_out_plus, &roi->details.amount); TALER_ARL_report (report_wire_out_inconsistencies, - json_pack ("{s:I, s:o, s:o, s:o, s:o, s:s, s:s}", + json_pack ("{s:I, s:o, s:o, s:o, s:o, s:s, s:s, s:s}", "row", (json_int_t) rowid, "amount_wired", TALER_JSON_from_amount ( &zero), @@ -1042,6 +1043,7 @@ wire_out_cb (void *cls, "timestamp", TALER_ARL_json_from_time_abs ( date), "diagnostic", "receiver account mismatch", + "target", roi->details.credit_account_url, "account_section", wa->section_name)); TALER_ARL_amount_add (&total_bad_amount_out_minus, &total_bad_amount_out_minus, |