This commit is contained in:
parent
08512e74fa
commit
cec8ba878d
2 changed files with 2 additions and 2 deletions
|
|
@ -235,7 +235,7 @@ end
|
||||||
module DenominationHash = struct
|
module DenominationHash = struct
|
||||||
include HASH_64
|
include HASH_64
|
||||||
|
|
||||||
let mk (pub : Mirage_crypto_pk.Rsa.pub) =
|
let hash (pub : Mirage_crypto_pk.Rsa.pub) =
|
||||||
pub
|
pub
|
||||||
|> GNUNET_RsaPublicKey.of_pub
|
|> GNUNET_RsaPublicKey.of_pub
|
||||||
|> Bin.to_string GNUNET_RsaPublicKey.bin
|
|> Bin.to_string GNUNET_RsaPublicKey.bin
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ let mk_future_denom denom_secmod_sign_f
|
||||||
in
|
in
|
||||||
let denom_secmod_sig =
|
let denom_secmod_sig =
|
||||||
let open Binary_formats in
|
let open Binary_formats in
|
||||||
let h_denom_pub = DenominationHash.mk pub in
|
let h_denom_pub = DenominationHash.hash pub in
|
||||||
let h_section_name = HashCode.of_string section_name in
|
let h_section_name = HashCode.of_string section_name in
|
||||||
let anchor_time =
|
let anchor_time =
|
||||||
TimeAbsoluteNBO.{ v= Util.ptime_to_int64_us stamp_start }
|
TimeAbsoluteNBO.{ v= Util.ptime_to_int64_us stamp_start }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue