mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix
This commit is contained in:
parent
c51efc0afe
commit
5a121526e4
1 changed files with 2 additions and 1 deletions
|
@ -619,7 +619,8 @@ class Wallet:
|
|||
if redeem_script:
|
||||
addr = hash_160_to_bc_address(hash_160(redeem_script.decode('hex')), 5)
|
||||
else:
|
||||
addr = transaction.get_address_from_output_script(txin["raw_output_script"].decode('hex'))
|
||||
import transaction
|
||||
_, addr = transaction.get_address_from_output_script(txin["raw_output_script"].decode('hex'))
|
||||
txin['address'] = addr
|
||||
|
||||
# add private keys that are in the wallet
|
||||
|
|
Loading…
Add table
Reference in a new issue