fix currency bin encoding
This commit is contained in:
parent
ab82a357a9
commit
760e6de1fb
8 changed files with 89 additions and 20 deletions
|
|
@ -25,11 +25,11 @@ let denom_signature ~master_key
|
|||
Crypto.RsaPublicKey.to_octets pub
|
||||
in
|
||||
let h_denom_pub = Api.HashCode.hash pub_octets in
|
||||
let master = Crypto.EddsaPrivateKey.(pub_of_priv master_key) in
|
||||
let denom_hash = Bin_type.DenominationHash.hash pub_octets in
|
||||
let master_sig =
|
||||
let open Bin_type in
|
||||
(*let open Bin_type in*)
|
||||
let open Bin_signature.DenominationKeyValidityPS in
|
||||
let master = Crypto.EddsaPrivateKey.(pub_of_priv master_key) in
|
||||
let denom_hash = DenominationHash.hash pub_octets in
|
||||
{
|
||||
master;
|
||||
start= stamp_start;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue