exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 111abd594487cfabd8c60f46347f6d953586e91b
parent 7749a683ba602cf13ed160c6ed63d668adbf4b1c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 20 Nov 2017 21:56:06 +0100

do not break on issues we log to JSON

Diffstat:
Mcontrib/samples/wire-auditor.json | 14+++++++++++++-
Msrc/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 @@ -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 @@ -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",