aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2017-12-13 19:07:41 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2017-12-13 19:07:41 +0100
commit9ea31457454d051242d3e23ccfeccd11cb8fff19 (patch)
treeae4a2f04fb7228e7fd6feccd26d7979cc7ddedb7 /src/bank-lib
parentf93abc29d8bec77bc83ae21d49fd5f7a23826192 (diff)
respect /reject API: credit_account -> account_number
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/bank_api_reject.c2
-rw-r--r--src/bank-lib/fakebank.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bank-lib/bank_api_reject.c b/src/bank-lib/bank_api_reject.c
index c630ccd52..531851735 100644
--- a/src/bank-lib/bank_api_reject.c
+++ b/src/bank-lib/bank_api_reject.c
@@ -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);
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 7c61a59bf..3d4acf4c8 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -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 !=