add last_change timestamp to secmod_rsa
This commit is contained in:
parent
35ebd70d04
commit
5692200c2d
6 changed files with 30 additions and 30 deletions
|
|
@ -60,11 +60,7 @@ let mk_keys ~db_conn (module Keys : Keys.S) ~last_issue_date =
|
|||
let zero_limits = [] in
|
||||
|
||||
let* denom_l = Keys.denominations () in
|
||||
let list_issue_date =
|
||||
List.fold_left
|
||||
(fun acc dn -> Timestamp.max acc dn.Denomination.stamp_start)
|
||||
Timestamp.zero denom_l
|
||||
in
|
||||
let list_issue_date = Keys.denominations_last_change () in
|
||||
let denom_l =
|
||||
(* if `?last_issue_date` query param does not exactly match the `stamp_start`
|
||||
of one of the denomination keys, all keys are returned *)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue