Skip to content

Commit d8f3e0b

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 6425185 commit d8f3e0b

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
@@ -287,7 +287,7 @@ mod tests {
287287
use sp_runtime::{Perbill, traits::{BlakeTwo256, IdentityLookup}, testing::Header};
288288

289289
impl_outer_origin! {
290-
pub enum Origin for Test where system = frame_system {}
290+
pub enum Origin for Test where system = frame_system {}
291291
}
292292

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

0 commit comments

Comments
 (0)