aboutsummaryrefslogtreecommitdiff
path: root/src/backenddb/pg_lookup_instances.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/pg_lookup_instances.c')
-rw-r--r--src/backenddb/pg_lookup_instances.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/backenddb/pg_lookup_instances.c b/src/backenddb/pg_lookup_instances.c
index 323b1957..f4f820ac 100644
--- a/src/backenddb/pg_lookup_instances.c
+++ b/src/backenddb/pg_lookup_instances.c
@@ -173,7 +173,6 @@ lookup_instances_cb (void *cls,
{
bool no_auth;
bool no_salt;
- uint32_t ut32;
struct GNUNET_PQ_ResultSpec rs[] = {
GNUNET_PQ_result_spec_uint64 ("merchant_serial",
&lic->instance_serial),
@@ -191,8 +190,6 @@ lookup_instances_cb (void *cls,
&lic->is.id),
GNUNET_PQ_result_spec_string ("merchant_name",
&lic->is.name),
- GNUNET_PQ_result_spec_uint32 ("user_type",
- &ut32),
TALER_PQ_result_spec_json ("address",
&lic->is.address),
TALER_PQ_result_spec_json ("jurisdiction",
@@ -200,7 +197,8 @@ lookup_instances_cb (void *cls,
GNUNET_PQ_result_spec_bool ("use_stefan",
&lic->is.use_stefan),
GNUNET_PQ_result_spec_relative_time ("default_wire_transfer_delay",
- &lic->is.default_wire_transfer_delay),
+ &lic->is.default_wire_transfer_delay)
+ ,
GNUNET_PQ_result_spec_relative_time ("default_pay_delay",
&lic->is.default_pay_delay),
GNUNET_PQ_result_spec_allow_null (
@@ -233,7 +231,6 @@ lookup_instances_cb (void *cls,
lic->qs = GNUNET_DB_STATUS_HARD_ERROR;
return;
}
- lic->is.ut = (enum TALER_KYCLOGIC_KycUserType) ut32;
call_cb (lic);
GNUNET_PQ_cleanup_result (rs);
if (0 > lic->qs)
@@ -270,7 +267,6 @@ TMH_PG_lookup_instances (void *cls,
",auth_salt"
",merchant_id"
",merchant_name"
- ",user_type"
",address"
",jurisdiction"
",use_stefan"