From 513a22c34404d87c0fba1f6054ef049553e19d6e Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 16 Feb 2018 10:57:23 +0100 Subject: offering amount _objects_ as traits (a string version of it was already implemented). "Withdraw" command uses it. --- src/exchange-lib/testing_api_cmd_withdraw.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/exchange-lib/testing_api_cmd_withdraw.c') diff --git a/src/exchange-lib/testing_api_cmd_withdraw.c b/src/exchange-lib/testing_api_cmd_withdraw.c index eb3bc8a6..07dad69e 100644 --- a/src/exchange-lib/testing_api_cmd_withdraw.c +++ b/src/exchange-lib/testing_api_cmd_withdraw.c @@ -286,6 +286,11 @@ withdraw_traits (void *cls, &ws->sig), TALER_TESTING_make_trait_reserve_priv (0, reserve_priv), + TALER_TESTING_make_trait_amount_obj (0, + &ws->amount), + TALER_TESTING_make_trait_url ( + 0, MAH_path_to_url (ws->exchange, "/")), + TALER_TESTING_trait_end () }; -- cgit v1.2.3