summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing_api_cmd_deposit.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_deposit.c b/src/testing/testing_api_cmd_deposit.c
index 0eb09bd3..a392884a 100644
--- a/src/testing/testing_api_cmd_deposit.c
+++ b/src/testing/testing_api_cmd_deposit.c
@@ -296,6 +296,7 @@ deposit_run (void *cls,
struct GNUNET_TIME_Absolute wire_deadline;
struct TALER_MerchantPublicKeyP merchant_pub;
struct GNUNET_HashCode h_contract_terms;
+ enum TALER_ErrorCode ec;
(void) cmd;
ds->is = is;
@@ -429,10 +430,14 @@ deposit_run (void *cls,
ds->refund_deadline,
&coin_sig,
&deposit_cb,
- ds);
+ ds,
+ &ec);
if (NULL == ds->dh)
{
GNUNET_break (0);
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Could not create deposit with EC %d\n",
+ (int) ec);
TALER_TESTING_interpreter_fail (is);
return;
}