diff options
Diffstat (limited to 'src/auditor/taler-helper-auditor-purses.c')
-rw-r--r-- | src/auditor/taler-helper-auditor-purses.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/auditor/taler-helper-auditor-purses.c b/src/auditor/taler-helper-auditor-purses.c index 13327ccba..f35020734 100644 --- a/src/auditor/taler-helper-auditor-purses.c +++ b/src/auditor/taler-helper-auditor-purses.c @@ -885,8 +885,9 @@ handle_purse_decision ( report_row_inconsistency ("purse-request", rowid, "purse fee higher than balance"); - TALER_amount_set_zero (TALER_ARL_currency, - &balance_without_purse_fee); + GNUNET_assert (GNUNET_OK == + TALER_amount_set_zero (TALER_ARL_currency, + &balance_without_purse_fee)); } if (refunded) @@ -1021,8 +1022,9 @@ verify_purse_balance (void *cls, report_row_inconsistency ("purse", 0, "purse fee higher than balance"); - TALER_amount_set_zero (TALER_ARL_currency, - &balance_without_purse_fee); + GNUNET_assert (GNUNET_OK == + TALER_amount_set_zero (TALER_ARL_currency, + &balance_without_purse_fee)); } if (0 != TALER_amount_cmp (&ps->exchange_balance, |