mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
funding tx: use fees from config and set rbf
This commit is contained in:
parent
9de6028fb5
commit
f8894d467f
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ class Peer(PrintError):
|
|||
redeem_script = funding_output_script(local_config, remote_config)
|
||||
funding_address = bitcoin.redeem_script_to_address('p2wsh', redeem_script)
|
||||
funding_output = TxOutput(bitcoin.TYPE_ADDRESS, funding_address, funding_sat)
|
||||
funding_tx = self.lnworker.wallet.mktx([funding_output], password, self.lnworker.config, 1000)
|
||||
funding_tx = self.lnworker.wallet.mktx([funding_output], password, self.lnworker.config, rbf=True)
|
||||
funding_txid = funding_tx.txid()
|
||||
funding_index = funding_tx.outputs().index(funding_output)
|
||||
# remote commitment transaction
|
||||
|
|
Loading…
Add table
Reference in a new issue