summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_post_transfers.c
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-02 02:05:08 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-02 02:05:08 -0400
commit03ca8c13996b1222ef11321c31c5e560f44058e4 (patch)
tree6135bd73dc7cc9eb7079bab90635561c7c456e1c /src/lib/merchant_api_post_transfers.c
parentdcd5a4c81f8ac87a8fa103f26e9726b637c6a516 (diff)
downloadmerchant-03ca8c13996b1222ef11321c31c5e560f44058e4.tar.gz
merchant-03ca8c13996b1222ef11321c31c5e560f44058e4.tar.bz2
merchant-03ca8c13996b1222ef11321c31c5e560f44058e4.zip
twister, get tips, instance, and post transfer tests
Diffstat (limited to 'src/lib/merchant_api_post_transfers.c')
-rw-r--r--src/lib/merchant_api_post_transfers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/merchant_api_post_transfers.c b/src/lib/merchant_api_post_transfers.c
index d304ed9f..f9ea25dc 100644
--- a/src/lib/merchant_api_post_transfers.c
+++ b/src/lib/merchant_api_post_transfers.c
@@ -146,12 +146,12 @@ handle_post_transfers_finished (void *cls,
json_array_foreach (deposit_sums, i, deposit_sum) {
struct TALER_MERCHANT_TrackTransferDetail *d = &details[i];
struct GNUNET_JSON_Specification ispec[] = {
- TALER_JSON_spec_amount ("total",
+ GNUNET_JSON_spec_string ("order_id",
+ &d->order_id),
+ TALER_JSON_spec_amount ("deposit_value",
&d->deposit_value),
TALER_JSON_spec_amount ("deposit_fee",
&d->deposit_fee),
- GNUNET_JSON_spec_string ("order_id",
- &d->order_id),
GNUNET_JSON_spec_end ()
};