From 8381b40d0a8d5fa088997360f7da698a937d54c4 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Wed, 27 Mar 2024 11:58:27 -0500 Subject: [PATCH] GH-2334 Make method public to avoid multiple friend declarations --- libraries/libfc/include/fc/crypto/bls_signature.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/libfc/include/fc/crypto/bls_signature.hpp b/libraries/libfc/include/fc/crypto/bls_signature.hpp index 8c1c76a237..f87428765e 100644 --- a/libraries/libfc/include/fc/crypto/bls_signature.hpp +++ b/libraries/libfc/include/fc/crypto/bls_signature.hpp @@ -57,10 +57,8 @@ namespace fc::crypto::blslib { return ds; } - private: - friend class bls_aggregate_signature; static bls12_381::g2 to_jacobian_montgomery_le(const std::array& affine_non_montgomery_le); - + private: std::array _affine_non_montgomery_le{}; bls12_381::g2 _jacobian_montgomery_le; // cached g2 };