Skip to content

Commit 6556d39

Browse files
identity: Don't let subs be re-registered (#6667)
* Fixes and tests * Don't set subs be re-registered. Also allow subs to de-register themselves and collect the deposit. Also allow individual registering and removal of subs. * Make it build * Update frame/identity/src/lib.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Tests * Add benchmarks * Add some reasonable weights * Docs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
1 parent f0fb522 commit 6556d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ mod tests {
404404
use frame_support::{parameter_types, impl_outer_origin, ConsensusEngineId, weights::Weight};
405405

406406
impl_outer_origin!{
407-
pub enum Origin for Test where system = frame_system {}
407+
pub enum Origin for Test where system = frame_system {}
408408
}
409409

410410
#[derive(Clone, Eq, PartialEq)]

0 commit comments

Comments
 (0)