uncommenting /admin/add/incoming interpreter command
This commit is contained in:
parent
75f47e79e1
commit
7cbfdbd72a
@ -182,7 +182,8 @@ TALER_BANK_admin_add_incoming (struct GNUNET_CURL_Context *ctx,
|
|||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
return NULL;
|
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,
|
"exchange_url", exchange_base_url,
|
||||||
"wtid", GNUNET_JSON_from_data_auto (wtid),
|
"wtid", GNUNET_JSON_from_data_auto (wtid),
|
||||||
"amount", TALER_JSON_from_amount (amount),
|
"amount", TALER_JSON_from_amount (amount),
|
||||||
|
@ -46,7 +46,6 @@ run (void *cls)
|
|||||||
.details.history.direction = TALER_BANK_DIRECTION_BOTH,
|
.details.history.direction = TALER_BANK_DIRECTION_BOTH,
|
||||||
.details.history.start_row_ref = NULL,
|
.details.history.start_row_ref = NULL,
|
||||||
.details.history.num_results = 5 },
|
.details.history.num_results = 5 },
|
||||||
# if 0
|
|
||||||
/* Move money from Exchange to Bank */
|
/* Move money from Exchange to Bank */
|
||||||
{ .oc = TBI_OC_ADMIN_ADD_INCOMING,
|
{ .oc = TBI_OC_ADMIN_ADD_INCOMING,
|
||||||
.label = "deposit-1",
|
.label = "deposit-1",
|
||||||
@ -55,6 +54,7 @@ run (void *cls)
|
|||||||
.details.admin_add_incoming.credit_account_no = 1,
|
.details.admin_add_incoming.credit_account_no = 1,
|
||||||
.details.admin_add_incoming.debit_account_no = 2, /* Ignored */
|
.details.admin_add_incoming.debit_account_no = 2, /* Ignored */
|
||||||
.details.admin_add_incoming.amount = "PUDOS:5.01" },
|
.details.admin_add_incoming.amount = "PUDOS:5.01" },
|
||||||
|
# if 0
|
||||||
/* Move money from Exchange to Bank */
|
/* Move money from Exchange to Bank */
|
||||||
{ .oc = TBI_OC_ADMIN_ADD_INCOMING,
|
{ .oc = TBI_OC_ADMIN_ADD_INCOMING,
|
||||||
.label = "deposit-2",
|
.label = "deposit-2",
|
||||||
|
Loading…
Reference in New Issue
Block a user