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

Fix issue #498

parent 321df1ec
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ from . import money ...@@ -20,7 +20,7 @@ from . import money
from .wallet import Wallet from .wallet import Wallet
from .community import Community from .community import Community
from .registry import LocalState from .registry import LocalState
from ..tools.exceptions import ContactAlreadyExists from ..tools.exceptions import ContactAlreadyExists, LookupFailureError
from .. import __version__ from .. import __version__
...@@ -509,8 +509,12 @@ class Account(QObject): ...@@ -509,8 +509,12 @@ class Account(QObject):
""" """
logging.debug("Certdata") logging.debug("Certdata")
blockUID = community.network.current_blockUID blockUID = community.network.current_blockUID
try:
identity = await self._identities_registry.future_find(pubkey, community) identity = await self._identities_registry.future_find(pubkey, community)
selfcert = await identity.selfcert(community) selfcert = await identity.selfcert(community)
except LookupFailureError as e:
return False, str(e)
if selfcert: if selfcert:
certification = Certification(PROTOCOL_VERSION, community.currency, certification = Certification(PROTOCOL_VERSION, community.currency,
self.pubkey, pubkey, blockUID, None) self.pubkey, pubkey, blockUID, None)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment