diff options
Diffstat (limited to 'src/exchangedb')
| -rw-r--r-- | src/exchangedb/0003-kyc_attributes.sql | 2 | ||||
| -rw-r--r-- | src/exchangedb/pg_select_kyc_attributes.c | 3 | 
2 files changed, 1 insertions, 4 deletions
| diff --git a/src/exchangedb/0003-kyc_attributes.sql b/src/exchangedb/0003-kyc_attributes.sql index 1547466f..18093358 100644 --- a/src/exchangedb/0003-kyc_attributes.sql +++ b/src/exchangedb/0003-kyc_attributes.sql @@ -32,7 +32,7 @@ BEGIN        ',birthdate VARCHAR'        ',collection_time INT8 NOT NULL'        ',expiration_time INT8 NOT NULL' -      ',encrypted_attributes VARCHAR NOT NULL' +      ',encrypted_attributes BYTEA NOT NULL'      ') %s ;'      ,table_name      ,'PARTITION BY HASH (h_payto)' diff --git a/src/exchangedb/pg_select_kyc_attributes.c b/src/exchangedb/pg_select_kyc_attributes.c index e8b2e43d..c9b992da 100644 --- a/src/exchangedb/pg_select_kyc_attributes.c +++ b/src/exchangedb/pg_select_kyc_attributes.c @@ -75,7 +75,6 @@ get_attributes_cb (void *cls,    for (unsigned int i = 0; i < num_results; i++)    { -    struct TALER_PaytoHashP h_payto;      struct GNUNET_TIME_Timestamp collection_time;      struct GNUNET_TIME_Timestamp expiration_time;      size_t enc_attributes_size; @@ -83,8 +82,6 @@ get_attributes_cb (void *cls,      char *provider;      char *birthdate = NULL;      struct GNUNET_PQ_ResultSpec rs[] = { -      GNUNET_PQ_result_spec_auto_from_type ("h_payto", -                                            &h_payto),        GNUNET_PQ_result_spec_string ("provider",                                      &provider),        GNUNET_PQ_result_spec_allow_null ( | 
