Skip to content

Commit b572e01

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 <[email protected]> * Tests * Add benchmarks * Add some reasonable weights * Docs Co-authored-by: joe petrowski <[email protected]>
1 parent 8bf7ef6 commit b572e01

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
@@ -315,7 +315,7 @@ mod tests {
315315
}
316316

317317
impl_outer_origin! {
318-
pub enum Origin for Test where system = frame_system {}
318+
pub enum Origin for Test where system = frame_system {}
319319
}
320320

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

0 commit comments

Comments
 (0)