Skip to content

Commit 51ce4e0

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 ebc63a3 commit 51ce4e0

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
@@ -172,7 +172,7 @@ mod tests {
172172
}
173173

174174
impl_outer_origin! {
175-
pub enum Origin for Test where system = frame_system {}
175+
pub enum Origin for Test where system = frame_system {}
176176
}
177177

178178
pub struct TestSessionHandler;

0 commit comments

Comments
 (0)