Browse Source

revert rbf on funding tx

regtest_lnd
ThomasV 6 years ago
committed by SomberNight
parent
commit
be1bc40484
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/lnbase.py

2
electrum/lnbase.py

@ -455,7 +455,7 @@ class Peer(PrintError):
redeem_script = funding_output_script(local_config, remote_config) redeem_script = funding_output_script(local_config, remote_config)
funding_address = bitcoin.redeem_script_to_address('p2wsh', redeem_script) funding_address = bitcoin.redeem_script_to_address('p2wsh', redeem_script)
funding_output = TxOutput(bitcoin.TYPE_ADDRESS, funding_address, funding_sat) funding_output = TxOutput(bitcoin.TYPE_ADDRESS, funding_address, funding_sat)
funding_tx = self.lnworker.wallet.mktx([funding_output], password, self.lnworker.config, rbf=True) funding_tx = self.lnworker.wallet.mktx([funding_output], password, self.lnworker.config)
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)
# remote commitment transaction # remote commitment transaction

Loading…
Cancel
Save