tfix #2630 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 923f988b86b8d46be8671d4051d97a323e569dbb DIR parent d71c9d5be3034bd41d5538284d7b79a495ff2bbb HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 24 Jul 2017 17:29:14 +0200 fix #2630 Diffstat: M lib/transaction.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/transaction.py b/lib/transaction.py t@@ -413,6 +413,7 @@ def parse_input(vds): if prevout_hash == '00'*32: d['type'] = 'coinbase' else: + d['x_pubkeys'] = [] d['pubkeys'] = [] d['signatures'] = {} d['address'] = None t@@ -656,8 +657,8 @@ class Transaction: return push_script(redeem_script) elif _type == 'address': script += push_script(pubkeys[0]) - else: - raise TypeError('Unknown txin type', _type) + elif _type == 'unknown': + return txin['scriptSig'] return script @classmethod