This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
keystore.has_keys behaviour should return the indicies found #7285
Open
Description
Follow up to the comment here: paritytech/polkadot#1740 (comment)
The behaviour of the has_keys
would be slow in cases such as:
where the list of keys is iterated so that the first key found is returned. However, in case of a remote signer, this loop would be quite slow.
has_keys
behaviour should be modified so that the index of the first element found is returned so that this index can be used to return the public key.