diff --git a/src/identity/main.cairo b/src/identity/main.cairo index eb0290b..036531a 100644 --- a/src/identity/main.cairo +++ b/src/identity/main.cairo @@ -59,8 +59,6 @@ mod Identity { user_data: LegacyMap<(u128, felt252), felt252>, verifier_data: LegacyMap<(u128, felt252, ContractAddress), felt252>, main_id_by_addr: LegacyMap, - // legacy owner - Proxy_admin: felt252, #[substorage(v0)] storage_read: storage_read_component::Storage, #[substorage(v0)] @@ -311,10 +309,5 @@ mod Identity { ) ); } - - fn remove_proxy_admin(ref self: ContractState) { - self.ownable.assert_only_owner(); - self.Proxy_admin.write(0); - } } } diff --git a/src/interface/identity.cairo b/src/interface/identity.cairo index 9683add..1327d02 100644 --- a/src/interface/identity.cairo +++ b/src/interface/identity.cairo @@ -60,6 +60,4 @@ trait IIdentity { fn set_extended_verifier_data( ref self: TContractState, id: u128, field: felt252, data: Span, domain: u32 ); - - fn remove_proxy_admin(ref self: TContractState); }