mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-26 23:13:25 +00:00
lnbase: pass password to mktx
This commit is contained in:
parent
86972cc9e2
commit
a7f85efcf1
1 changed files with 1 additions and 1 deletions
|
@ -883,7 +883,7 @@ class Peer(PrintError):
|
||||||
redeem_script = transaction.multisig_script(pubkeys, 2)
|
redeem_script = transaction.multisig_script(pubkeys, 2)
|
||||||
funding_address = bitcoin.redeem_script_to_address('p2wsh', redeem_script)
|
funding_address = bitcoin.redeem_script_to_address('p2wsh', redeem_script)
|
||||||
funding_output = (bitcoin.TYPE_ADDRESS, funding_address, funding_sat)
|
funding_output = (bitcoin.TYPE_ADDRESS, funding_address, funding_sat)
|
||||||
funding_tx = wallet.mktx([funding_output], None, config, 1000)
|
funding_tx = wallet.mktx([funding_output], password, config, 1000)
|
||||||
funding_txid = funding_tx.txid()
|
funding_txid = funding_tx.txid()
|
||||||
funding_index = funding_tx.outputs().index(funding_output)
|
funding_index = funding_tx.outputs().index(funding_output)
|
||||||
# derive keys
|
# derive keys
|
||||||
|
|
Loading…
Add table
Reference in a new issue