From 111abd594487cfabd8c60f46347f6d953586e91b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 20 Nov 2017 21:56:06 +0100 Subject: [PATCH] do not break on issues we log to JSON --- contrib/samples/wire-auditor.json | 14 +++++++++++++- src/auditor/taler-wire-auditor.c | 1 - 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/contrib/samples/wire-auditor.json b/contrib/samples/wire-auditor.json index 44e338273..ce2baf2e8 100644 --- a/contrib/samples/wire-auditor.json +++ b/contrib/samples/wire-auditor.json @@ -220,5 +220,17 @@ "diagnostic": "duplicate wire offset" } ], - "row_minor_inconsistencies": [] + "row_minor_inconsistencies": [], + "total_wire_format_amount": { + "currency": "KUDOS", + "value": 0, + "fraction": 0 + }, + "wire_format_inconsistencies": [], + "total_amount_lag": { + "currency": "KUDOS", + "value": 5, + "fraction": 1000000 + }, + "lag_details": [] } \ No newline at end of file diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c index 1b514a0ef..6d5085ed4 100644 --- a/src/auditor/taler-wire-auditor.c +++ b/src/auditor/taler-wire-auditor.c @@ -996,7 +996,6 @@ reserve_in_cb (void *cls, rii, GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)) { - GNUNET_break_op (0); /* duplicate wire offset is not allowed! */ report (report_row_inconsistencies, json_pack ("{s:s, s:I, s:o, s:s}", "table", "reserves_in",