This commit is contained in:
Lex Berezhny 2019-07-16 21:28:36 -04:00
parent b89916a3d7
commit f72b07d0f4

View file

@ -3431,7 +3431,7 @@ class Daemon(metaclass=JSONRPCServerType):
if not channel_url:
continue
resolve_response = await self.resolve([channel_url])
if 'error' not in resolve_response[channel_url]:
if isinstance(resolve_response[channel_url], Output):
comment['is_channel_signature_valid'] = is_comment_signed_by_channel(
comment, resolve_response[channel_url]
)