summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-03 00:42:32 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-03 00:42:32 +0200
commit69c1ca4d2363a921fc16b7579dce86e0cb29d3b1 (patch)
treed211b05c3735204f620037840dd6f079f2470f9c /src/lib
parent8d26ab35e0d2de1e3186377593bdee3d20a6fe15 (diff)
downloadexchange-69c1ca4d2363a921fc16b7579dce86e0cb29d3b1.tar.gz
exchange-69c1ca4d2363a921fc16b7579dce86e0cb29d3b1.tar.bz2
exchange-69c1ca4d2363a921fc16b7579dce86e0cb29d3b1.zip
check return value, always
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/testing_auditor_api_cmd_deposit_confirmation.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/testing_auditor_api_cmd_deposit_confirmation.c b/src/lib/testing_auditor_api_cmd_deposit_confirmation.c
index ad02a6ef5..70fd01e1c 100644
--- a/src/lib/testing_auditor_api_cmd_deposit_confirmation.c
+++ b/src/lib/testing_auditor_api_cmd_deposit_confirmation.c
@@ -238,15 +238,16 @@ deposit_confirmation_run (void *cls,
&contract_terms));
/* Very unlikely to fail */
GNUNET_assert (NULL != contract_terms);
- TALER_JSON_hash (contract_terms,
- &h_contract_terms);
+ GNUNET_assert (GNUNET_OK ==
+ TALER_JSON_hash (contract_terms,
+ &h_contract_terms));
GNUNET_assert (GNUNET_OK ==
TALER_TESTING_get_trait_wire_details (deposit_cmd,
dcs->coin_index,
&wire_details));
- TALER_JSON_hash (wire_details,
- &h_wire);
-
+ GNUNET_assert (GNUNET_OK ==
+ TALER_JSON_hash (wire_details,
+ &h_wire));
GNUNET_assert (GNUNET_OK ==
TALER_TESTING_get_trait_coin_priv (deposit_cmd,
dcs->coin_index,