[MINOR] Futurepass `register_delegate` can be used to add a proxy to an EOA account
surangap opened this issue · comments
pub fn register_delegate_with_signature(
origin: OriginFor<T>,
futurepass: T::AccountId,
delegate: T::AccountId,
proxy_type: T::ProxyType,
deadline: u32,
signature: [u8; 65],
)
if caller
and futurepass
params are the same, the function will run though and add the delegate
as a proxy of futurepass
This is a minor/no impact since it can only be used for EOA accounts. Users cannot sign and send as a futurepass.