Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rebonat0 committed Jan 15, 2025
1 parent f8e5e9e commit bc7d201
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dot/parachain/prospective-parachains/fragment_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ func (f *fragmentChain) canAddCandidateAsPotential(entry *candidateEntry) error
// tryAddingSecondedCandidate tries to add a candidate as a seconded candidate, if the
// candidate has potential. It will never be added to the chain directly in the seconded
// state, it will only be part of the unconnected storage
func (f *fragmentChain) tryAddingSecondedCandidate(entry *candidateEntry) error { //nolint:unused
func (f *fragmentChain) tryAddingSecondedCandidate(entry *candidateEntry) error {
if entry.state == backed {
return errIntroduceBackedCandidate
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ func NewView() *view {
return &view{
perRelayParent: make(map[common.Hash]*relayParentData),
activeLeaves: make(map[common.Hash]bool),
implicitView: nil, // TODO: currently there's no implementation for ImplicitView, reference is: https://github.com/paritytech/polkadot-sdk/blob/028e61be43f05f6f6c88c5cca94160f8db075585/polkadot/node/subsystem-util/src/backing_implicit_view.rs#L40
implicitView: nil, // TODO: currently there's no implementation for ImplicitView, reference is:
// https://github.com/ChainSafe/gossamer/blob/main/lib/prospective_parachains/view.go#L10
}
}

Expand Down

0 comments on commit bc7d201

Please sign in to comment.