summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_cmd_withdraw.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-02-16 10:57:23 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-02-16 10:57:23 +0100
commit513a22c34404d87c0fba1f6054ef049553e19d6e (patch)
treebaf95b8fd5bb054648877a7be3bde24feb24ad44 /src/exchange-lib/testing_api_cmd_withdraw.c
parent63109b69105930654889f5a5641989b29c92f467 (diff)
downloadexchange-513a22c34404d87c0fba1f6054ef049553e19d6e.tar.gz
exchange-513a22c34404d87c0fba1f6054ef049553e19d6e.tar.bz2
exchange-513a22c34404d87c0fba1f6054ef049553e19d6e.zip
offering amount _objects_ as traits (a string version of
it was already implemented). "Withdraw" command uses it.
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_withdraw.c')
-rw-r--r--src/exchange-lib/testing_api_cmd_withdraw.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exchange-lib/testing_api_cmd_withdraw.c b/src/exchange-lib/testing_api_cmd_withdraw.c
index eb3bc8a6b..07dad69eb 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 ()
};