diff options
Diffstat (limited to 'src/testing/testing_api_cmd_auditor_deposit_confirmation.c')
-rw-r--r-- | src/testing/testing_api_cmd_auditor_deposit_confirmation.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_auditor_deposit_confirmation.c b/src/testing/testing_api_cmd_auditor_deposit_confirmation.c index 247399a9d..1442380bf 100644 --- a/src/testing/testing_api_cmd_auditor_deposit_confirmation.c +++ b/src/testing/testing_api_cmd_auditor_deposit_confirmation.c | |||
@@ -203,6 +203,7 @@ deposit_confirmation_run (void *cls, | |||
203 | const struct TALER_TESTING_Command *deposit_cmd; | 203 | const struct TALER_TESTING_Command *deposit_cmd; |
204 | struct GNUNET_HashCode h_wire; | 204 | struct GNUNET_HashCode h_wire; |
205 | struct GNUNET_HashCode h_contract_terms; | 205 | struct GNUNET_HashCode h_contract_terms; |
206 | const struct GNUNET_TIME_Absolute *exchange_timestamp = NULL; | ||
206 | struct GNUNET_TIME_Absolute timestamp; | 207 | struct GNUNET_TIME_Absolute timestamp; |
207 | struct GNUNET_TIME_Absolute refund_deadline; | 208 | struct GNUNET_TIME_Absolute refund_deadline; |
208 | struct TALER_Amount amount_without_fee; | 209 | struct TALER_Amount amount_without_fee; |
@@ -238,6 +239,11 @@ deposit_confirmation_run (void *cls, | |||
238 | TALER_TESTING_get_trait_exchange_sig (deposit_cmd, | 239 | TALER_TESTING_get_trait_exchange_sig (deposit_cmd, |
239 | dcs->coin_index, | 240 | dcs->coin_index, |
240 | &exchange_sig)); | 241 | &exchange_sig)); |
242 | GNUNET_assert (GNUNET_OK == | ||
243 | TALER_TESTING_get_trait_absolute_time (deposit_cmd, | ||
244 | dcs->coin_index, | ||
245 | &exchange_timestamp)); | ||
246 | GNUNET_assert (NULL != exchange_timestamp); | ||
241 | keys = TALER_EXCHANGE_get_keys (dcs->is->exchange); | 247 | keys = TALER_EXCHANGE_get_keys (dcs->is->exchange); |
242 | GNUNET_assert (NULL != keys); | 248 | GNUNET_assert (NULL != keys); |
243 | spk = TALER_EXCHANGE_get_signing_key_info (keys, | 249 | spk = TALER_EXCHANGE_get_signing_key_info (keys, |
@@ -309,7 +315,7 @@ deposit_confirmation_run (void *cls, | |||
309 | dcs->dc = TALER_AUDITOR_deposit_confirmation (dcs->auditor, | 315 | dcs->dc = TALER_AUDITOR_deposit_confirmation (dcs->auditor, |
310 | &h_wire, | 316 | &h_wire, |
311 | &h_contract_terms, | 317 | &h_contract_terms, |
312 | timestamp, | 318 | *exchange_timestamp, |
313 | refund_deadline, | 319 | refund_deadline, |
314 | &amount_without_fee, | 320 | &amount_without_fee, |
315 | &coin_pub, | 321 | &coin_pub, |