Skip to content

Commit 13a1390

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 2250d88 commit 13a1390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const BIG_AYE: Vote = Vote { aye: true, conviction: Conviction::Locked1x };
5050
const BIG_NAY: Vote = Vote { aye: false, conviction: Conviction::Locked1x };
5151

5252
impl_outer_origin! {
53-
pub enum Origin for Test where system = frame_system {}
53+
pub enum Origin for Test where system = frame_system {}
5454
}
5555

5656
impl_outer_dispatch! {

0 commit comments

Comments
 (0)