diff options
Diffstat (limited to 'src/exchangedb')
| -rw-r--r-- | src/exchangedb/0003-withdraw_age_commitments.sql | 6 | ||||
| -rw-r--r-- | src/exchangedb/pg_get_age_withdraw_info.c | 6 | 
2 files changed, 6 insertions, 6 deletions
| diff --git a/src/exchangedb/0003-withdraw_age_commitments.sql b/src/exchangedb/0003-withdraw_age_commitments.sql index 6064880b..6c153598 100644 --- a/src/exchangedb/0003-withdraw_age_commitments.sql +++ b/src/exchangedb/0003-withdraw_age_commitments.sql @@ -29,7 +29,7 @@ BEGIN        ',h_commitment BYTEA PRIMARY KEY CHECK (LENGTH(h_commitment)=64)'        ',amount_with_fee_val INT8 NOT NULL'        ',amount_with_fee_frac INT4 NOT NULL' -      ',max_age_group INT2 NOT NULL' +      ',max_age INT2 NOT NULL'        ',reserve_pub BYTEA NOT NULL CHECK (LENGTH(reserve_pub)=32)'        ',reserve_sig BYTEA CHECK (LENGTH(reserve_sig)=64)'        ',noreveal_index INT4 NOT NULL' @@ -51,8 +51,8 @@ BEGIN      ,partition_suffix    );    PERFORM comment_partitioned_column( -     'The maximum age group that the client commits to with this request' -    ,'max_age_group' +     'The maximum age that the client commits to with this request' +    ,'max_age'      ,table_name      ,partition_suffix    ); diff --git a/src/exchangedb/pg_get_age_withdraw_info.c b/src/exchangedb/pg_get_age_withdraw_info.c index 7662d4b5..02ccc84a 100644 --- a/src/exchangedb/pg_get_age_withdraw_info.c +++ b/src/exchangedb/pg_get_age_withdraw_info.c @@ -45,8 +45,8 @@ TEH_PG_get_age_withdraw_info (                                            &awc->reserve_sig),      GNUNET_PQ_result_spec_auto_from_type ("reserve_pub",                                            &awc->reserve_pub), -    GNUNET_PQ_result_spec_uint32 ("max_age_group", -                                  &awc->max_age_group), +    GNUNET_PQ_result_spec_uint32 ("max_age", +                                  &awc->max_age),      TALER_PQ_RESULT_SPEC_AMOUNT ("amount_with_fee",                                   &awc->amount_with_fee),      GNUNET_PQ_result_spec_uint32 ("noreveal_index", @@ -66,7 +66,7 @@ TEH_PG_get_age_withdraw_info (             " h_commitment"             ",reserve_sig"             ",reserve_pub" -           ",max_age_group" +           ",max_age"             ",amount_with_fee_val"             ",amount_with_fee_frac"             ",noreveal_index" | 
