fix #2565: do not show traceback

This commit is contained in:
ThomasV 2017-06-28 05:26:52 +02:00
parent 4934ae3cd9
commit 91235ed7ac
1 changed files with 1 additions and 3 deletions

View File

@ -333,9 +333,7 @@ def parse_scriptSig(d, bytes):
try:
signatures = parse_sig([sig])
pubkey, address = xpubkey_to_address(x_pubkey)
except:
import traceback
traceback.print_exc(file=sys.stdout)
except BaseException:
print_error("cannot find address in input script", bytes.encode('hex'))
return
d['type'] = 'p2pkh'