summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_pay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_pay.c')
-rw-r--r--src/lib/merchant_api_pay.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/merchant_api_pay.c b/src/lib/merchant_api_pay.c
index ffe29c4d..ffadd4b5 100644
--- a/src/lib/merchant_api_pay.c
+++ b/src/lib/merchant_api_pay.c
@@ -464,8 +464,9 @@ TALER_MERCHANT_pay_frontend (struct GNUNET_CURL_Context *ctx,
"ub_sig", GNUNET_JSON_from_rsa_signature (pc->denom_sig.rsa_signature),
"coin_sig", GNUNET_JSON_from_data_auto (&pc->coin_sig)
);
- json_array_append (j_coins,
- j_coin);
+ GNUNET_assert (0 ==
+ json_array_append (j_coins,
+ j_coin));
}
{ /* Sanity check that total_amount and total_fee