summaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_deposit.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-07-23 21:56:21 +0200
committerChristian Grothoff <christian@grothoff.org>2019-07-23 21:56:21 +0200
commite8a892c29aed9b08f800878ad4d6e789f9571b64 (patch)
tree6413889eb304d1f30650ec13d02c1f225b4f381c /src/lib/testing_api_cmd_deposit.c
parent7d43ad56d3a43cc38b4ca0278145b237ca8e4bbb (diff)
downloadexchange-e8a892c29aed9b08f800878ad4d6e789f9571b64.tar.gz
exchange-e8a892c29aed9b08f800878ad4d6e789f9571b64.tar.bz2
exchange-e8a892c29aed9b08f800878ad4d6e789f9571b64.zip
modify /payback API and test usage of that API to pass/return additional information required when dealing with payback of refreshed coins
Diffstat (limited to 'src/lib/testing_api_cmd_deposit.c')
-rw-r--r--src/lib/testing_api_cmd_deposit.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/testing_api_cmd_deposit.c b/src/lib/testing_api_cmd_deposit.c
index 6fa2310d3..1868e8bd6 100644
--- a/src/lib/testing_api_cmd_deposit.c
+++ b/src/lib/testing_api_cmd_deposit.c
@@ -449,8 +449,8 @@ deposit_traits (void *cls,
if (GNUNET_OK !=
TALER_TESTING_get_trait_coin_priv (coin_cmd,
- ds->coin_index,
- &coin_spent_priv))
+ ds->coin_index,
+ &coin_spent_priv))
{
GNUNET_break (0);
TALER_TESTING_interpreter_fail (ds->is);
@@ -461,26 +461,26 @@ deposit_traits (void *cls,
/* First two traits are only available if
ds->traits is #GNUNET_YES */
TALER_TESTING_make_trait_exchange_pub (0,
- &ds->exchange_pub),
+ &ds->exchange_pub),
TALER_TESTING_make_trait_exchange_sig (0,
- &ds->exchange_sig),
+ &ds->exchange_sig),
/* These traits are always available */
TALER_TESTING_make_trait_coin_priv (0,
- coin_spent_priv),
+ coin_spent_priv),
TALER_TESTING_make_trait_wire_details (0,
- ds->wire_details),
+ ds->wire_details),
TALER_TESTING_make_trait_contract_terms (0,
- ds->contract_terms),
+ ds->contract_terms),
TALER_TESTING_make_trait_peer_key (0,
- &ds->merchant_priv.eddsa_priv),
+ &ds->merchant_priv.eddsa_priv),
TALER_TESTING_make_trait_amount (0,
ds->amount),
TALER_TESTING_trait_end ()
};
return TALER_TESTING_get_trait ((ds->traits_ready)
- ? traits
- : &traits[2],
+ ? traits
+ : &traits[2],
ret,
trait,
index);