uncommenting /admin/add/incoming interpreter command

This commit is contained in:
Marcello Stanisci 2017-05-09 22:14:21 +02:00
parent 75f47e79e1
commit 7cbfdbd72a
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
2 changed files with 3 additions and 2 deletions

View File

@ -182,7 +182,8 @@ TALER_BANK_admin_add_incoming (struct GNUNET_CURL_Context *ctx,
GNUNET_break (0);
return NULL;
}
admin_obj = json_pack ("{s:s, s:o, s:o, s:I, s:I}",
admin_obj = json_pack ("{s:{s:s}, s:s, s:o, s:o, s:I, s:I}",
"auth", "type", "basic",
"exchange_url", exchange_base_url,
"wtid", GNUNET_JSON_from_data_auto (wtid),
"amount", TALER_JSON_from_amount (amount),

View File

@ -46,7 +46,6 @@ run (void *cls)
.details.history.direction = TALER_BANK_DIRECTION_BOTH,
.details.history.start_row_ref = NULL,
.details.history.num_results = 5 },
# if 0
/* Move money from Exchange to Bank */
{ .oc = TBI_OC_ADMIN_ADD_INCOMING,
.label = "deposit-1",
@ -55,6 +54,7 @@ run (void *cls)
.details.admin_add_incoming.credit_account_no = 1,
.details.admin_add_incoming.debit_account_no = 2, /* Ignored */
.details.admin_add_incoming.amount = "PUDOS:5.01" },
# if 0
/* Move money from Exchange to Bank */
{ .oc = TBI_OC_ADMIN_ADD_INCOMING,
.label = "deposit-2",