aboutsummaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_pay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/testing_api_cmd_pay.c')
-rw-r--r--src/lib/testing_api_cmd_pay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/testing_api_cmd_pay.c b/src/lib/testing_api_cmd_pay.c
index 1855d378..02bdf408 100644
--- a/src/lib/testing_api_cmd_pay.c
+++ b/src/lib/testing_api_cmd_pay.c
@@ -236,7 +236,7 @@ build_coins (struct TALER_MERCHANT_PayCoin **pc,
TALER_TESTING_find_pk (is->keys,
&icoin->denom_value)));
- GNUNET_assert (GNUNET_SYSERR !=
+ GNUNET_assert (0 <=
TALER_amount_subtract (&icoin->amount_without_fee,
&icoin->denom_value,
&dpk->fee_deposit));