Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Merge requests
!204
#421
: wot: Display information for correct identity
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
#421
: wot: Display information for correct identity
421_wot_fix
into
dev
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Moul
requested to merge
421_wot_fix
into
dev
3 years ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
Close
#421 (closed)
.
Edited
3 years ago
by
Moul
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
57626f42
1 commit,
3 years ago
1 file
+
4
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
silkaj/wot.py
+
4
−
2
Options
@@ -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
"
]:
Loading