use correct denomination hash
This commit is contained in:
parent
b1de214881
commit
b8574ca52d
14 changed files with 142 additions and 61 deletions
|
|
@ -10,7 +10,6 @@
|
|||
open Time
|
||||
open Crypto
|
||||
open Signatures
|
||||
module DenominationHash = Hash.DenominationHash
|
||||
|
||||
let encode jsont v = Jsont_bytesrw.encode_string jsont v
|
||||
let decode jsont v = Jsont_bytesrw.decode_string jsont v
|
||||
|
|
@ -296,8 +295,6 @@ end
|
|||
module DenominationKey = struct
|
||||
type t = Rsa of RsaDenominationKey.t
|
||||
|
||||
let to_octets = function Rsa denom -> RsaPublicKey.to_octets denom.rsa_pub
|
||||
|
||||
let of_cs _v =
|
||||
Jsont.Error.msg Jsont.Meta.none "CSDenominationKey are not supported"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue