pub fn backed_candidate_weight<T: Config + Config>( candidate: &BackedCandidate<T::Hash>, ) -> Weight