summaryrefslogtreecommitdiff
path: root/src/bank-lib/bank_api_admin.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-08 16:59:15 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-08 16:59:15 +0100
commit4872b61781a264b47db180b16cf2afa77f73d651 (patch)
tree246c2106ae78c88d91aa2149fc7ff748167122c1 /src/bank-lib/bank_api_admin.c
parentd0a80659a1311b882771d6b65f85336d613293e7 (diff)
downloadexchange-4872b61781a264b47db180b16cf2afa77f73d651.tar.gz
exchange-4872b61781a264b47db180b16cf2afa77f73d651.tar.bz2
exchange-4872b61781a264b47db180b16cf2afa77f73d651.zip
bank uses row_id instead of serial_id now
Diffstat (limited to 'src/bank-lib/bank_api_admin.c')
-rw-r--r--src/bank-lib/bank_api_admin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bank-lib/bank_api_admin.c b/src/bank-lib/bank_api_admin.c
index 4a1732ed..f89b0143 100644
--- a/src/bank-lib/bank_api_admin.c
+++ b/src/bank-lib/bank_api_admin.c
@@ -78,7 +78,7 @@ handle_admin_add_incoming_finished (void *cls,
const json_t *json)
{
struct TALER_BANK_AdminAddIncomingHandle *aai = cls;
- uint64_t serial_id = UINT64_MAX;
+ uint64_t row_id = UINT64_MAX;
enum TALER_ErrorCode ec;
aai->job = NULL;
@@ -90,8 +90,8 @@ handle_admin_add_incoming_finished (void *cls,
case MHD_HTTP_OK:
{
struct GNUNET_JSON_Specification spec[] = {
- GNUNET_JSON_spec_uint64 ("serial_id",
- &serial_id),
+ GNUNET_JSON_spec_uint64 ("row_id",
+ &row_id),
GNUNET_JSON_spec_end()
};
@@ -146,7 +146,7 @@ handle_admin_add_incoming_finished (void *cls,
aai->cb (aai->cb_cls,
response_code,
ec,
- serial_id,
+ row_id,
json);
TALER_BANK_admin_add_incoming_cancel (aai);
}