diff --git a/silkaj/wot/status.py b/silkaj/wot/status.py index 1b74b1a7a276a5d9efeeb97e2c0a57a747b8cf40..fe03fcebc3e019f6dbed0cac02e2f640f911cea7 100644 --- a/silkaj/wot/status.py +++ b/silkaj/wot/status.py @@ -71,12 +71,7 @@ def status(uid_pubkey: str) -> None: certifications = OrderedDict() # type: OrderedDict params = get_blockchain_parameters() - req = None - requirements = client(wot.requirements, search=pubkey, pubkey=True) - for req in requirements["identities"]: - if req["pubkey"] == pubkey: - break - + req = (client(wot.requirements, search=pubkey, pubkey=True))["identities"][0] certifications["received_expire"] = [] certifications["received"] = [] certifications["sent"] = []