Skip to content
Snippets Groups Projects
Commit b73d113f authored by inso's avatar inso
Browse files

Fix identity re-publish

parent e0a892d6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment