diff options
| author | Christian Grothoff <christian@grothoff.org> | 2023-02-21 14:44:31 +0100 |
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2023-02-21 14:44:31 +0100 |
| commit | 7da69142b4d39681a74b9654c5dec1cbc8b9b24b (patch) | |
| tree | c63faf3e8c90ee33441dd993f35feb01e378fb21 /src/auditor/taler-helper-auditor-purses.c | |
| parent | 95bd24916ed7baa7a6059c2a788e904bb5166606 (diff) | |
-misc minor bugfixes
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 13327ccb..f3502073 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, |
