forked from LBRYCommunity/lbry-sdk
guarded dict access
This commit is contained in:
parent
e4aeb66257
commit
b89916a3d7
1 changed files with 1 additions and 1 deletions
|
@ -3440,7 +3440,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
|
|
||||||
if is_channel_signature_valid:
|
if is_channel_signature_valid:
|
||||||
result['items'] = [
|
result['items'] = [
|
||||||
c for c in result.get('items', []) if c['is_channel_signature_valid']
|
c for c in result.get('items', []) if c.get('is_channel_signature_valid', False)
|
||||||
]
|
]
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Reference in a new issue