commit fa256c742a7738f37a67e212766e80b35990e8ac
parent 1ee5a287a014a2c7196f3bcd5688bfa01f34a533
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sun, 16 Aug 2026 22:12:33 +0200
return serial number
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/exchangedb/get_denomination_meta.c b/src/exchangedb/get_denomination_meta.c
@@ -34,6 +34,8 @@ TALER_EXCHANGEDB_get_denomination_meta (
GNUNET_PQ_query_param_end
};
struct GNUNET_PQ_ResultSpec rs[] = {
+ GNUNET_PQ_result_spec_uint64 ("denominations_serial",
+ &meta->serial),
GNUNET_PQ_result_spec_timestamp ("valid_from",
&meta->start),
GNUNET_PQ_result_spec_timestamp ("expire_withdraw",
@@ -60,7 +62,8 @@ TALER_EXCHANGEDB_get_denomination_meta (
PREPARE (pg,
"get_denomination_meta",
"SELECT"
- " valid_from"
+ " denominations_serial"
+ ",valid_from"
",expire_withdraw"
",expire_deposit"
",expire_legal"