summaryrefslogtreecommitdiff
path: root/src/bank-lib/bank_api_history.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-08 17:04:11 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-08 17:04:11 +0100
commite75afb316484e7a55f913f6584d2a528918223f4 (patch)
tree4aaa0a69ea2d6caa51a6180bc94fc19936a730c4 /src/bank-lib/bank_api_history.c
parent4872b61781a264b47db180b16cf2afa77f73d651 (diff)
downloadexchange-e75afb316484e7a55f913f6584d2a528918223f4.tar.gz
exchange-e75afb316484e7a55f913f6584d2a528918223f4.tar.bz2
exchange-e75afb316484e7a55f913f6584d2a528918223f4.zip
use row_id instead of serial_id everywhere
Diffstat (limited to 'src/bank-lib/bank_api_history.c')
-rw-r--r--src/bank-lib/bank_api_history.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bank-lib/bank_api_history.c b/src/bank-lib/bank_api_history.c
index a6c7dceac..3b8a83e13 100644
--- a/src/bank-lib/bank_api_history.c
+++ b/src/bank-lib/bank_api_history.c
@@ -89,7 +89,7 @@ parse_account_history (struct TALER_BANK_HistoryHandle *hh,
struct TALER_BANK_TransferDetails td;
const char *sign;
uint64_t other_account;
- uint64_t serial_id;
+ uint64_t row_id;
enum TALER_BANK_Direction direction;
struct GNUNET_JSON_Specification hist_spec[] = {
GNUNET_JSON_spec_string ("sign",
@@ -99,7 +99,7 @@ parse_account_history (struct TALER_BANK_HistoryHandle *hh,
GNUNET_JSON_spec_absolute_time ("date",
&td.execution_date),
GNUNET_JSON_spec_uint64 ("row_id",
- &serial_id),
+ &row_id),
GNUNET_JSON_spec_string ("wt_subject",
(const char **) &td.wire_transfer_subject),
GNUNET_JSON_spec_uint64 ("counterpart",
@@ -144,7 +144,7 @@ parse_account_history (struct TALER_BANK_HistoryHandle *hh,
MHD_HTTP_OK,
TALER_EC_NONE,
direction,
- serial_id,
+ row_id,
&td,
transaction);
json_decref (td.account_details);