commit 8abd072c89c939ac424a837bdc4566a7d9eecdee
parent 5a819611c8e5492d08ca8a97b3810009e823b560
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 25 May 2018 11:14:03 +0200
lnbase: pass password to mktx
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/lnbase.py b/lib/lnbase.py
@@ -883,7 +883,7 @@ class Peer(PrintError):
redeem_script = transaction.multisig_script(pubkeys, 2)
funding_address = bitcoin.redeem_script_to_address('p2wsh', redeem_script)
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_index = funding_tx.outputs().index(funding_output)
# derive keys