Skip to content

Commit 73efb1e

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 8b4c4cd commit 73efb1e

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
@@ -54,7 +54,7 @@ impl_outer_event! {
5454
}
5555
}
5656
impl_outer_origin! {
57-
pub enum Origin for Test where system = frame_system { }
57+
pub enum Origin for Test where system = frame_system { }
5858
}
5959
impl_outer_dispatch! {
6060
pub enum Call for Test where origin: Origin {

0 commit comments

Comments
 (0)