This commit is contained in:
swrup 2026-02-21 23:06:02 +01:00
parent 6197e9f14b
commit c52e7d9818

View file

@ -54,7 +54,8 @@ module Make (Conn : Pg.CONN) : S = struct
let find_denomination h_pub = Pg.find_denom conn h_pub |> unwrap_err_caqti
(* TODO
check if database is coherent with secmod *)
check if database is coherent with secmod
=> have something to run independent tests with clean db+sm *)
let signkeys () : Signkey.t list result =
let now = Timestamp.of_ptime @@ Ptime_clock.now () in
Pg.get_active_signkeys conn ~now |> unwrap_err_caqti