Skip to content
Snippets Groups Projects
Commit 2ad077de authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] fix certify identity functionality

parent 424d9d54
No related branches found
No related tags found
1 merge request!7750.50.0
......@@ -196,7 +196,7 @@ class DocumentsService:
return False, "Could not find certified identity signature"
certification = Certification(
10, connection.currency, connection.pubkey, identity.pubkey, blockUID, None
10, connection.currency, connection.pubkey, identity.document(), blockUID, ""
)
key = SigningKey.from_credentials(secret_key, password, connection.scrypt_params)
......@@ -205,7 +205,7 @@ class DocumentsService:
self._logger.debug("Certification : {0}".format(signed_cert))
timestamp = self._blockchain_processor.time(connection.currency)
responses = await self._bma_connector.broadcast(
connection.currency, bma.wot.certify, req_args={"cert": signed_cert}
connection.currency, bma.wot.certify, req_args={"certification_signed_raw": signed_cert}
)
result = await parse_bma_responses(responses)
if result[0]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment