add hash.ml + refacto
This commit is contained in:
parent
55ccc6f18a
commit
63e711f7dd
11 changed files with 193 additions and 199 deletions
|
|
@ -182,7 +182,7 @@ let mk_keys ~db_conn (module Sm : Secmod.S) ~last_issue_date =
|
|||
|> List.filter_map (fun v -> v.Denom_data.master_sig)
|
||||
|> List.map Bin_sig.DenominationKeyValidity.to_octets
|
||||
|> String.concat ""
|
||||
|> Bin_type.Hash_64.hash
|
||||
|> Hash.H64.hash
|
||||
in
|
||||
let open Bin_sig.ExchangeKeySet in
|
||||
sign_f ~f:(Sm.sign_with_signkey ~pub:exchange_pub) R.{ list_issue_date; hc }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue