mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 12:30:07 +00:00
fix: Imported_Wallet cannot spend from p2wpkh or p2wpkh-p2sh
This commit is contained in:
parent
0df24d9321
commit
e406829904
1 changed files with 1 additions and 1 deletions
|
@ -1472,7 +1472,7 @@ class Imported_Wallet(Abstract_Wallet):
|
|||
txin['x_pubkeys'] = [x_pubkey]
|
||||
txin['signatures'] = [None]
|
||||
return
|
||||
if txin['type'] in ['p2pkh', 'p2wkh', 'p2wkh-p2sh']:
|
||||
if txin['type'] in ['p2pkh', 'p2wpkh', 'p2wpkh-p2sh']:
|
||||
pubkey = self.addresses[address]['pubkey']
|
||||
txin['num_sig'] = 1
|
||||
txin['x_pubkeys'] = [pubkey]
|
||||
|
|
Loading…
Add table
Reference in a new issue