[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -check rvalues
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -check rvalues |
Date: |
Wed, 22 Nov 2023 23:07:08 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new ecc66535 -check rvalues
ecc66535 is described below
commit ecc66535e096aad7cd2c8cf8c15d309d65c1c888
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Nov 22 22:07:05 2023 +0100
-check rvalues
---
src/testing/testing_api_cmd_refund.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/testing/testing_api_cmd_refund.c
b/src/testing/testing_api_cmd_refund.c
index 578bee46..516d6450 100644
--- a/src/testing/testing_api_cmd_refund.c
+++ b/src/testing/testing_api_cmd_refund.c
@@ -187,9 +187,10 @@ refund_run (void *cls,
&rs->che.details.refund.merchant_pub.eddsa_pub);
rs->che.details.refund.refund_fee = denom_pub->fees.refund;
rs->che.details.refund.sig_amount = refund_amount;
- TALER_amount_subtract (&rs->che.amount,
- &refund_amount,
- &rs->che.details.refund.refund_fee);
+ GNUNET_assert (0 <=
+ TALER_amount_subtract (&rs->che.amount,
+ &refund_amount,
+ &rs->che.details.refund.refund_fee));
rs->che.details.refund.rtransaction_id = rs->refund_transaction_id;
TALER_merchant_refund_sign (&rs->coin,
&h_contract_terms,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.