bank uses row_id instead of serial_id now
This commit is contained in:
parent
d0a80659a1
commit
4872b61781
@ -78,7 +78,7 @@ handle_admin_add_incoming_finished (void *cls,
|
|||||||
const json_t *json)
|
const json_t *json)
|
||||||
{
|
{
|
||||||
struct TALER_BANK_AdminAddIncomingHandle *aai = cls;
|
struct TALER_BANK_AdminAddIncomingHandle *aai = cls;
|
||||||
uint64_t serial_id = UINT64_MAX;
|
uint64_t row_id = UINT64_MAX;
|
||||||
enum TALER_ErrorCode ec;
|
enum TALER_ErrorCode ec;
|
||||||
|
|
||||||
aai->job = NULL;
|
aai->job = NULL;
|
||||||
@ -90,8 +90,8 @@ handle_admin_add_incoming_finished (void *cls,
|
|||||||
case MHD_HTTP_OK:
|
case MHD_HTTP_OK:
|
||||||
{
|
{
|
||||||
struct GNUNET_JSON_Specification spec[] = {
|
struct GNUNET_JSON_Specification spec[] = {
|
||||||
GNUNET_JSON_spec_uint64 ("serial_id",
|
GNUNET_JSON_spec_uint64 ("row_id",
|
||||||
&serial_id),
|
&row_id),
|
||||||
GNUNET_JSON_spec_end()
|
GNUNET_JSON_spec_end()
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -146,7 +146,7 @@ handle_admin_add_incoming_finished (void *cls,
|
|||||||
aai->cb (aai->cb_cls,
|
aai->cb (aai->cb_cls,
|
||||||
response_code,
|
response_code,
|
||||||
ec,
|
ec,
|
||||||
serial_id,
|
row_id,
|
||||||
json);
|
json);
|
||||||
TALER_BANK_admin_add_incoming_cancel (aai);
|
TALER_BANK_admin_add_incoming_cancel (aai);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user