mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
fix parse_sig
This commit is contained in:
parent
f7096010f0
commit
f8fd1c14db
1 changed files with 1 additions and 8 deletions
|
@ -284,14 +284,7 @@ def match_decoded(decoded, to_match):
|
|||
|
||||
|
||||
def parse_sig(x_sig):
|
||||
s = []
|
||||
for sig in x_sig:
|
||||
if sig == NO_SIGNATURE:
|
||||
s.append(None)
|
||||
else:
|
||||
s.append(sig[:-2])
|
||||
return s
|
||||
|
||||
return map(lambda x: None if x == NO_SIGNATURE else x, x_sig)
|
||||
|
||||
def safe_parse_pubkey(x):
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue