diff --git a/node/src/chain_spec/gen_genesis_data.rs b/node/src/chain_spec/gen_genesis_data.rs index b0acb65f826fafbeac9d8ae4c2bc12300a9f9e43..ab9856efe65d8161e595fb68d0cc0b1960c21259 100644 --- a/node/src/chain_spec/gen_genesis_data.rs +++ b/node/src/chain_spec/gen_genesis_data.rs @@ -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(); diff --git a/pallets/duniter-wot/src/lib.rs b/pallets/duniter-wot/src/lib.rs index f6f0c331dd1c3cbcda735738f24cd3fa889ff44c..eb127c0cc0979c1064910b791c89d70df89f44b5 100644 --- a/pallets/duniter-wot/src/lib.rs +++ b/pallets/duniter-wot/src/lib.rs @@ -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