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
b73d113f
Commit
b73d113f
authored
7 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Fix identity re-publish
parent
e0a892d6
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sakia/gui/navigation/controller.py
+1
-1
1 addition, 1 deletion
src/sakia/gui/navigation/controller.py
src/sakia/services/documents.py
+1
-0
1 addition, 0 deletions
src/sakia/services/documents.py
with
2 additions
and
1 deletion
src/sakia/gui/navigation/controller.py
+
1
−
1
View file @
b73d113f
...
...
@@ -182,7 +182,7 @@ class NavigationController(QObject):
async
def
publish_uid
(
self
,
connection
):
identity
=
self
.
model
.
generate_identity
(
connection
)
identity_doc
=
identity
.
document
()
if
not
identity_doc
.
signatures
[
0
]
:
if
not
identity_doc
.
signatures
:
secret_key
,
password
=
await
PasswordInputController
.
open_dialog
(
self
,
connection
)
if
not
password
or
not
secret_key
:
return
...
...
This diff is collapsed.
Click to expand it.
src/sakia/services/documents.py
+
1
−
0
View file @
b73d113f
...
...
@@ -63,6 +63,7 @@ class DocumentsService:
identity
.
blockstamp
=
block_uid
timestamp
=
self
.
_blockchain_processor
.
time
(
connection
.
currency
)
identity
.
timestamp
=
timestamp
identity
.
signature
=
None
return
identity
...
...
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