ok denom-hash

This commit is contained in:
swrup 2026-02-27 23:36:05 +01:00
parent 9c87aa63ea
commit 7150cc8584
14 changed files with 142 additions and 61 deletions

View file

@ -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"