Skip to content
Snippets Groups Projects
Commit 57626f42 authored by Moul's avatar Moul
Browse files

[fix] #421: wot: Display information for correct identity

parent 5b08eb6f
No related branches found
No related tags found
1 merge request!204#421: wot: Display information for correct identity
Pipeline #15157 failed
......@@ -67,8 +67,10 @@ def received_sent_certifications(uid_pubkey):
identity, pubkey, signed = choose_identity(uid_pubkey)
certifications = OrderedDict()
params = BlockchainParams().params
req = client(wot.requirements, pubkey)
req = req["identities"][0]
requirements = client(wot.requirements, pubkey)
for req in requirements["identities"]:
if req["pubkey"] == pubkey:
break
certifications["received_expire"] = list()
certifications["received"] = list()
for cert in identity["others"]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment