Skip to content
Snippets Groups Projects
Commit e96f24bd authored by Cédric Moreau's avatar Cédric Moreau
Browse files

fix(smith-members): remove some TODO

parent f403dc0d
No related branches found
No related tags found
No related merge requests found
......@@ -1813,7 +1813,6 @@ where
Ok(genesis_data)
}
// TODO: avoid duplication?
#[cfg(feature = "gdev")]
fn clique_wot(
initial_identities_len: usize,
......@@ -1841,7 +1840,6 @@ fn clique_wot(
(certs_by_issuer, count)
}
// TODO: avoid duplication?
#[cfg(feature = "gdev")]
fn clique_smith_wot(initial_identities_len: usize) -> BTreeMap<IdtyIndex, (bool, Vec<IdtyIndex>)> {
let mut certs_by_issuer = BTreeMap::new();
......
......@@ -153,11 +153,7 @@ where
}
// implement cert call checks
impl<T: Config> pallet_certification::traits::CheckCertAllowed<IdtyIndex> for Pallet<T>
// TODO (#136) add the following where clause once checks can be done on pallet instance
// where
// T: pallet_membership::Config<I>,
{
impl<T: Config> pallet_certification::traits::CheckCertAllowed<IdtyIndex> for Pallet<T> {
// check the following:
// - issuer has identity
// - issuer identity is member
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment