respect /reject API: credit_account -> account_number

This commit is contained in:
Marcello Stanisci 2017-12-13 19:07:41 +01:00
parent f93abc29d8
commit 9ea3145745
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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 !=