electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit ab2d0f389c939adf0d89b8ec39b22132c0aeff3e
parent 348ef7d72c85cec3897b2b306f6a2264cc089f9f
Author: ThomasV <thomasv@electrum.org>
Date:   Sat, 23 Sep 2017 05:26:03 +0200

fix 2904

Diffstat:
Mlib/transaction.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/transaction.py b/lib/transaction.py @@ -306,7 +306,7 @@ def parse_scriptSig(d, _bytes): item = decoded[0][1] if item[0] == 0: d['address'] = bitcoin.hash160_to_p2sh(bitcoin.hash_160(item)) - d['type'] = 'p2wpkh-p2sh' if len(item) == 21 else 'p2wsh-p2sh' + d['type'] = 'p2wpkh-p2sh' if len(item) == 22 else 'p2wsh-p2sh' else: # payto_pubkey d['type'] = 'p2pk'