fix parse_sig
This commit is contained in:
parent
f7096010f0
commit
f8fd1c14db
|
@ -284,14 +284,7 @@ def match_decoded(decoded, to_match):
|
||||||
|
|
||||||
|
|
||||||
def parse_sig(x_sig):
|
def parse_sig(x_sig):
|
||||||
s = []
|
return map(lambda x: None if x == NO_SIGNATURE else x, x_sig)
|
||||||
for sig in x_sig:
|
|
||||||
if sig == NO_SIGNATURE:
|
|
||||||
s.append(None)
|
|
||||||
else:
|
|
||||||
s.append(sig[:-2])
|
|
||||||
return s
|
|
||||||
|
|
||||||
|
|
||||||
def safe_parse_pubkey(x):
|
def safe_parse_pubkey(x):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue