From 16d94c1cdf14ba3fac5b5d49fddf8cdacf58e6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Rebonato?= <98909278+rebonat0@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:12:08 -0300 Subject: [PATCH] refactor --- .../prospective-parachains/prospective-parachains.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dot/parachain/prospective-parachains/prospective-parachains.go b/dot/parachain/prospective-parachains/prospective-parachains.go index f08d9c7d2a..276a4057f2 100644 --- a/dot/parachain/prospective-parachains/prospective-parachains.go +++ b/dot/parachain/prospective-parachains/prospective-parachains.go @@ -45,7 +45,7 @@ func (v *View) GetFragmentChains(leaf common.Hash) map[parachaintypes.ParaID]fra return nil } -func HandleIntroduceSecondedCandidate( +func (pp *ProspectiveParachains) introduceSecondedCandidate( view *View, request IntroduceSecondedCandidateRequest, response chan bool, @@ -180,7 +180,7 @@ func (pp *ProspectiveParachains) processMessage(msg any) { case parachaintypes.BlockFinalizedSignal: _ = pp.ProcessBlockFinalizedSignal(msg) case IntroduceSecondedCandidate: - HandleIntroduceSecondedCandidate( + _ = pp.introduceSecondedCandidate( pp.View, msg.IntroduceSecondedCandidateRequest, msg.Response,