Skip to content
Snippets Groups Projects
Unverified Commit cf556999 authored by bgallois's avatar bgallois
Browse files

refactor functions naming for pallet-membership

parent 20e4fc6e
No related branches found
No related tags found
No related merge requests found
Pipeline #34523 failed
......@@ -424,7 +424,7 @@ pub mod pallet {
}
/// check if identity is member
pub(super) fn is_member_inner(idty_id: &T::IdtyId) -> bool {
pub(super) fn do_is_member(idty_id: &T::IdtyId) -> bool {
Membership::<T, I>::contains_key(idty_id)
}
}
......@@ -440,7 +440,7 @@ impl<T: Config<I>, I: 'static> IsInPendingMemberships<T::IdtyId> for Pallet<T, I
impl<T: Config<I>, I: 'static> sp_runtime::traits::IsMember<T::IdtyId> for Pallet<T, I> {
fn is_member(idty_id: &T::IdtyId) -> bool {
Self::is_member_inner(idty_id)
Self::do_is_member(idty_id)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment