Fixes corner case where channel is pending confirmation
This commit is contained in:
parent
86b46ebf19
commit
77adcaeb50
1 changed files with 14 additions and 13 deletions
|
@ -19,6 +19,7 @@ def get_encoded_signature(signature):
|
||||||
|
|
||||||
|
|
||||||
def is_comment_signed_by_channel(comment: dict, channel: Output):
|
def is_comment_signed_by_channel(comment: dict, channel: Output):
|
||||||
|
if type(channel) is Output:
|
||||||
try:
|
try:
|
||||||
pieces = [
|
pieces = [
|
||||||
comment['signing_ts'].encode(),
|
comment['signing_ts'].encode(),
|
||||||
|
|
Loading…
Reference in a new issue