respect /reject API: credit_account -> account_number
This commit is contained in:
parent
f93abc29d8
commit
9ea3145745
@ -167,7 +167,7 @@ TALER_BANK_reject (struct GNUNET_CURL_Context *ctx,
|
||||
reject_obj = json_pack ("{s:{s:s}, s:I, s:I}",
|
||||
"auth", "type", "basic",
|
||||
"row_id", (json_int_t) rowid,
|
||||
"credit_account", (json_int_t) account_number);
|
||||
"account_number", (json_int_t) account_number);
|
||||
if (NULL == reject_obj)
|
||||
{
|
||||
GNUNET_break (0);
|
||||
|
@ -588,7 +588,7 @@ handle_reject (struct TALER_FAKEBANK_Handle *h,
|
||||
uint64_t credit_account;
|
||||
struct GNUNET_JSON_Specification spec[] = {
|
||||
GNUNET_JSON_spec_uint64 ("row_id", &row_id),
|
||||
GNUNET_JSON_spec_uint64 ("credit_account", &credit_account),
|
||||
GNUNET_JSON_spec_uint64 ("account_number", &credit_account),
|
||||
GNUNET_JSON_spec_end ()
|
||||
};
|
||||
if (GNUNET_OK !=
|
||||
|
Loading…
Reference in New Issue
Block a user