fix parse_sig

This commit is contained in:
ThomasV 2017-04-18 12:31:42 +02:00
parent f7096010f0
commit f8fd1c14db
1 changed files with 1 additions and 8 deletions

View File

@ -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: