Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
d15899b9
Commit
d15899b9
authored
8 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Fix issue
#498
parent
321df1ec
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sakia/core/account.py
+7
-3
7 additions, 3 deletions
src/sakia/core/account.py
with
7 additions
and
3 deletions
src/sakia/core/account.py
+
7
−
3
View file @
d15899b9
...
...
@@ -20,7 +20,7 @@ from . import money
from
.wallet
import
Wallet
from
.community
import
Community
from
.registry
import
LocalState
from
..tools.exceptions
import
ContactAlreadyExists
from
..tools.exceptions
import
ContactAlreadyExists
,
LookupFailureError
from
..
import
__version__
...
...
@@ -509,8 +509,12 @@ class Account(QObject):
"""
logging
.
debug
(
"
Certdata
"
)
blockUID
=
community
.
network
.
current_blockUID
identity
=
await
self
.
_identities_registry
.
future_find
(
pubkey
,
community
)
selfcert
=
await
identity
.
selfcert
(
community
)
try
:
identity
=
await
self
.
_identities_registry
.
future_find
(
pubkey
,
community
)
selfcert
=
await
identity
.
selfcert
(
community
)
except
LookupFailureError
as
e
:
return
False
,
str
(
e
)
if
selfcert
:
certification
=
Certification
(
PROTOCOL_VERSION
,
community
.
currency
,
self
.
pubkey
,
pubkey
,
blockUID
,
None
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment