mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 16:31:29 +00:00
fix 2904
This commit is contained in:
parent
348ef7d72c
commit
ab2d0f389c
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue