From 015d85fd5946021e51f277d121ecd39ba3142b86 Mon Sep 17 00:00:00 2001 From: Alexander Cyon Date: Thu, 29 Aug 2024 16:17:09 +0200 Subject: [PATCH] make ctor of PetitionForEntity 'private' --- src/signing/petition_types/petition_for_entity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/signing/petition_types/petition_for_entity.rs b/src/signing/petition_types/petition_for_entity.rs index 8b6f1ad0..fc9da47d 100644 --- a/src/signing/petition_types/petition_for_entity.rs +++ b/src/signing/petition_types/petition_for_entity.rs @@ -20,7 +20,7 @@ pub struct PetitionForEntity { } impl PetitionForEntity { - pub fn new( + pub(super) fn new( intent_hash: IntentHash, entity: AddressOfAccountOrPersona, threshold_factors: impl Into>,