Browse Source

fix parse_sig

2.9.x
ThomasV 8 years ago
parent
commit
f8fd1c14db
  1. 9
      lib/transaction.py

9
lib/transaction.py

@ -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…
Cancel
Save