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

refactor functions naming for pallet-membership

parent a4216b5a
Branches
Tags
No related merge requests found
Pipeline #34521 passed
...@@ -424,7 +424,7 @@ pub mod pallet { ...@@ -424,7 +424,7 @@ pub mod pallet {
} }
/// check if identity is member /// 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) Membership::<T, I>::contains_key(idty_id)
} }
} }
...@@ -440,7 +440,7 @@ impl<T: Config<I>, I: 'static> IsInPendingMemberships<T::IdtyId> for Pallet<T, I ...@@ -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> { impl<T: Config<I>, I: 'static> sp_runtime::traits::IsMember<T::IdtyId> for Pallet<T, I> {
fn is_member(idty_id: &T::IdtyId) -> bool { 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