Skip to content

Commit 1a27cfc

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 b514a5d commit 1a27cfc

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
@@ -249,7 +249,7 @@ mod tests {
249249
};
250250

251251
impl_outer_origin! {
252-
pub enum Origin for Test where system = frame_system {}
252+
pub enum Origin for Test where system = frame_system {}
253253
}
254254

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

0 commit comments

Comments
 (0)