fix #2565: do not show traceback
This commit is contained in:
parent
4934ae3cd9
commit
91235ed7ac
|
@ -333,9 +333,7 @@ def parse_scriptSig(d, bytes):
|
||||||
try:
|
try:
|
||||||
signatures = parse_sig([sig])
|
signatures = parse_sig([sig])
|
||||||
pubkey, address = xpubkey_to_address(x_pubkey)
|
pubkey, address = xpubkey_to_address(x_pubkey)
|
||||||
except:
|
except BaseException:
|
||||||
import traceback
|
|
||||||
traceback.print_exc(file=sys.stdout)
|
|
||||||
print_error("cannot find address in input script", bytes.encode('hex'))
|
print_error("cannot find address in input script", bytes.encode('hex'))
|
||||||
return
|
return
|
||||||
d['type'] = 'p2pkh'
|
d['type'] = 'p2pkh'
|
||||||
|
|
Loading…
Reference in New Issue