diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-07 13:01:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-07 13:01:00 +0200 |
commit | c676737f5f6a707ea8bb5b75f776eb619dab110d (patch) | |
tree | bbcb232fc8202859d9bfa19c7288d70ad4378b08 /src/auditor/taler-helper-auditor-coins.c | |
parent | 67a85e4f5f054a9468a7e597fe80696809021e31 (diff) | |
download | exchange-c676737f5f6a707ea8bb5b75f776eb619dab110d.tar.xz |
-fix test-auditor.sh
Diffstat (limited to 'src/auditor/taler-helper-auditor-coins.c')
-rw-r--r-- | src/auditor/taler-helper-auditor-coins.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c index 61cd84685..a3c8afb54 100644 --- a/src/auditor/taler-helper-auditor-coins.c +++ b/src/auditor/taler-helper-auditor-coins.c @@ -1340,6 +1340,7 @@ refresh_session_cb (void *cls, coin_pub, coin_sig)) { + GNUNET_break_op (0); TALER_ARL_report (report_bad_sig_losses, GNUNET_JSON_PACK ( GNUNET_JSON_pack_string ("operation", @@ -1451,11 +1452,12 @@ refresh_session_cb (void *cls, &amount_without_fee)); } - /* check old coin covers complete expenses (of withdraw operations) */ + /* check old coin covers complete expenses (of refresh operation) */ if (1 == TALER_amount_cmp (&refresh_cost, &amount_without_fee)) { /* refresh_cost > amount_without_fee, which is bad (exchange lost) */ + GNUNET_break_op (0); report_amount_arithmetic_inconsistency ("melt (cost)", rowid, &amount_without_fee, /* 'exchange' */ |