summaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_proposal.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-18 18:29:42 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-18 18:29:42 +0100
commite1fef9bf28a55bb3f5fe6dbf52063c56f340d3c4 (patch)
tree479949b8f89f445899d36da0c64c6c636be75b25 /src/lib/testing_api_cmd_proposal.c
parenta1922deaf0368ec4dc86b79f22900cdb261cff48 (diff)
downloadmerchant-e1fef9bf28a55bb3f5fe6dbf52063c56f340d3c4.tar.gz
merchant-e1fef9bf28a55bb3f5fe6dbf52063c56f340d3c4.tar.bz2
merchant-e1fef9bf28a55bb3f5fe6dbf52063c56f340d3c4.zip
make it compile again (test cases still don't compile)
Diffstat (limited to 'src/lib/testing_api_cmd_proposal.c')
-rw-r--r--src/lib/testing_api_cmd_proposal.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/testing_api_cmd_proposal.c b/src/lib/testing_api_cmd_proposal.c
index 7d51d974..087c1c82 100644
--- a/src/lib/testing_api_cmd_proposal.c
+++ b/src/lib/testing_api_cmd_proposal.c
@@ -117,7 +117,8 @@ proposal_traits (void *cls,
{
struct ProposalState *ps = cls;
#define MAKE_TRAIT_NONCE(ptr) \
- TALER_TESTING_make_trait_peer_key_pub (1, ptr)
+ TALER_TESTING_make_trait_merchant_pub (1, (struct \
+ TALER_MerchantPublicKeyP *) (ptr))
struct TALER_TESTING_Trait traits[] = {
TALER_TESTING_make_trait_order_id (0, ps->order_id),
@@ -126,8 +127,8 @@ proposal_traits (void *cls,
TALER_TESTING_make_trait_h_contract_terms
(0, &ps->h_contract_terms),
TALER_TESTING_make_trait_merchant_sig (0, &ps->merchant_sig),
- TALER_TESTING_make_trait_peer_key_pub
- (0, &ps->merchant_pub.eddsa_pub),
+ TALER_TESTING_make_trait_merchant_pub
+ (0, &ps->merchant_pub),
MAKE_TRAIT_NONCE (&ps->nonce),
TALER_TESTING_trait_end ()
};