s/Ptime_clock/Mirage_ptime/
This commit is contained in:
parent
e8d7b413ad
commit
eff2cb8e67
5 changed files with 8 additions and 8 deletions
|
|
@ -63,7 +63,7 @@ module Make (Conn : Pg.CONN) (Fs : Fat.FS) : S = struct
|
|||
())
|
||||
|
||||
let signkeys () : Signkey.t list result =
|
||||
let now = Timestamp.of_ptime @@ Ptime_clock.now () in
|
||||
let now = Timestamp.of_ptime @@ Mirage_ptime.now () in
|
||||
let+ l = Pg.get_signkeys conn ~now |> unwrap_caqti in
|
||||
let missing_l, l =
|
||||
List.partition
|
||||
|
|
@ -198,7 +198,7 @@ module Make (Conn : Pg.CONN) (Fs : Fat.FS) : S = struct
|
|||
Ok future_dn
|
||||
|
||||
let make_future_keys_response () =
|
||||
let now = Timestamp.of_ptime @@ Ptime_clock.now () in
|
||||
let now = Timestamp.of_ptime @@ Mirage_ptime.now () in
|
||||
(* get keys from database to filter out keys already certified *)
|
||||
let* sk_db_l = Pg.get_signkeys conn ~now |> unwrap_caqti in
|
||||
let sk_ht = Hashtbl.create 0xff in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue