Shell: export Signature.Public_key_hash.zero
This commit is contained in:
parent
c3eda23b45
commit
a3a33c4814
@ -164,6 +164,8 @@ module type SIGNATURE = sig
|
||||
include ENCODER with type t := t
|
||||
include INDEXES with type t := t
|
||||
|
||||
val zero: t
|
||||
|
||||
end
|
||||
|
||||
module Public_key : sig
|
||||
|
@ -59,6 +59,8 @@ module Public_key_hash = struct
|
||||
|
||||
let size = 1 + Ed25519.size
|
||||
|
||||
let zero = Ed25519 Ed25519.Public_key_hash.zero
|
||||
|
||||
include Helpers.MakeRaw(struct
|
||||
type nonrec t = t
|
||||
let name = name
|
||||
|
@ -217,6 +217,8 @@ module type SIGNATURE = sig
|
||||
include ENCODER with type t := t
|
||||
include INDEXES with type t := t
|
||||
|
||||
val zero: t
|
||||
|
||||
end
|
||||
|
||||
module Public_key : sig
|
||||
|
@ -285,6 +285,8 @@ module Make (Context : CONTEXT) = struct
|
||||
include ENCODER with type t := t
|
||||
include INDEXES with type t := t
|
||||
|
||||
val zero: t
|
||||
|
||||
end
|
||||
|
||||
module Public_key : sig
|
||||
|
Loading…
Reference in New Issue
Block a user