diff --git a/silkaj/wot.py b/silkaj/wot.py index 020a44db4772894423f882afd72b989c7c3d988a..582702bc0fcbf21c3f2f13ffc43f8c45ecd10b72 100644 --- a/silkaj/wot.py +++ b/silkaj/wot.py @@ -225,12 +225,3 @@ async def is_member(pubkey, uid): if pubkey in member["pubkey"] and uid in member["uid"]: return True return False - - -async def get_pubkey_from_id(uid): - client = ClientInstance().client - members = await client(wot.members) - for member in members["results"]: - if uid == member["uid"]: - return member["pubkey"] - return NO_MATCHING_ID