From 4e8f8269edeaa78a2c6ec9541810816cef99afa7 Mon Sep 17 00:00:00 2001 From: Daniel Knopik Date: Mon, 13 Jan 2025 14:53:08 +0100 Subject: [PATCH] expose `point` and `from_point` on `GenericSignature` --- crypto/bls/src/generic_signature.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/bls/src/generic_signature.rs b/crypto/bls/src/generic_signature.rs index 05e0a222bd..7f347dcaed 100644 --- a/crypto/bls/src/generic_signature.rs +++ b/crypto/bls/src/generic_signature.rs @@ -93,12 +93,12 @@ where } /// Returns a reference to the underlying BLS point. - pub(crate) fn point(&self) -> Option<&Sig> { + pub fn point(&self) -> Option<&Sig> { self.point.as_ref() } /// Instantiates `Self` from a `point`. - pub(crate) fn from_point(point: Sig, is_infinity: bool) -> Self { + pub fn from_point(point: Sig, is_infinity: bool) -> Self { Self { point: Some(point), is_infinity,