summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_abort_order.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-28 00:24:03 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-28 00:24:03 +0200
commit9939a99f6c29876f4ad213febf3a0d29fc765cdb (patch)
tree4ed257f96ddccb4a948578d1eab929034cd61ff9 /src/testing/testing_api_cmd_abort_order.c
parentca71aefbb1e1520b0e4b357c0b1d9c6aaf0d5128 (diff)
downloadmerchant-9939a99f6c29876f4ad213febf3a0d29fc765cdb.tar.gz
merchant-9939a99f6c29876f4ad213febf3a0d29fc765cdb.tar.bz2
merchant-9939a99f6c29876f4ad213febf3a0d29fc765cdb.zip
fix lib/ FTBFS
Diffstat (limited to 'src/testing/testing_api_cmd_abort_order.c')
-rw-r--r--src/testing/testing_api_cmd_abort_order.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/testing/testing_api_cmd_abort_order.c b/src/testing/testing_api_cmd_abort_order.c
index d515a361..966d93ff 100644
--- a/src/testing/testing_api_cmd_abort_order.c
+++ b/src/testing/testing_api_cmd_abort_order.c
@@ -151,10 +151,10 @@ build_coins (struct TALER_MERCHANT_AbortCoin **ac,
&icoin->exchange_url));
{
const struct TALER_Amount *denom_value;
- GNUNET_assert (GNUNET_OK
- == TALER_TESTING_get_trait_amount_obj (coin_cmd,
- 0,
- &denom_value));
+
+ GNUNET_assert (GNUNET_OK ==
+ TALER_TESTING_get_trait_amount (coin_cmd,
+ &denom_value));
icoin->amount_with_fee = *denom_value;
}
@@ -235,7 +235,7 @@ abort_run (void *cls,
const char *amount_with_fee;
const struct TALER_TESTING_Command *proposal_cmd;
const char *order_id;
- const struct GNUNET_HashCode *h_proposal;
+ const struct TALER_PrivateContractHash *h_proposal;
struct TALER_MerchantPublicKeyP merchant_pub;
struct TALER_Amount total_amount;
const char *error_name;
@@ -251,7 +251,6 @@ abort_run (void *cls,
TALER_TESTING_FAIL (is);
if (GNUNET_OK !=
TALER_TESTING_get_trait_proposal_reference (pay_cmd,
- 0,
&proposal_reference))
TALER_TESTING_FAIL (is);
if (GNUNET_OK !=
@@ -275,7 +274,6 @@ abort_run (void *cls,
if (GNUNET_OK !=
TALER_TESTING_get_trait_contract_terms (proposal_cmd,
- 0,
&contract_terms))
TALER_TESTING_FAIL (is);
{
@@ -332,7 +330,6 @@ abort_run (void *cls,
if (GNUNET_OK !=
TALER_TESTING_get_trait_h_contract_terms (proposal_cmd,
- 0,
&h_proposal))
TALER_TESTING_FAIL (is);
as->oah = TALER_MERCHANT_order_abort (is->ctx,