From 790395c178a294489b37bc1354055da15bbf855b Mon Sep 17 00:00:00 2001 From: Alexander Cyon Date: Fri, 30 Aug 2024 15:09:20 +0200 Subject: [PATCH] rename -> get_finished_with --- .../petition_for_factors/petition_for_factors.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/signing/petition_types/petition_for_factors_types/petition_for_factors/petition_for_factors.rs b/src/signing/petition_types/petition_for_factors_types/petition_for_factors/petition_for_factors.rs index 48df1fbb..3ceba42a 100644 --- a/src/signing/petition_types/petition_for_factors_types/petition_for_factors/petition_for_factors.rs +++ b/src/signing/petition_types/petition_for_factors_types/petition_for_factors/petition_for_factors.rs @@ -170,7 +170,7 @@ impl PetitionForFactors { is_finished_with_fail } - fn finished_with(&self) -> Option { + fn get_finished_with(&self) -> Option { if self.is_finished_successfully() { Some(PetitionFactorsStatusFinished::Success) } else if self.is_finished_with_fail() { @@ -181,7 +181,7 @@ impl PetitionForFactors { } pub fn status(&self) -> PetitionForFactorsStatus { - if let Some(finished_state) = self.finished_with() { + if let Some(finished_state) = self.get_finished_with() { return PetitionForFactorsStatus::Finished(finished_state); } PetitionForFactorsStatus::InProgress