Skip to content

Commit 635f6fb

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 44f67f5 commit 635f6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use sp_io;
3030
use sp_core::H256;
3131

3232
impl_outer_origin!{
33-
pub enum Origin for Test where system = frame_system {}
33+
pub enum Origin for Test where system = frame_system {}
3434
}
3535

3636
// Workaround for https://github.com/rust-lang/rust/issues/26925 . Remove when sorted.

0 commit comments

Comments
 (0)