Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
rebonat0 authored Dec 3, 2024
1 parent 4ccca75 commit 16d94c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 16d94c1

Please sign in to comment.