electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit f8894d467fea17dff44b9306072fe3697cdbb603
parent 9de6028fb56db9fc3bc39631f99c21ec9b24e7ed
Author: ThomasV <thomasv@electrum.org>
Date:   Wed, 17 Oct 2018 11:55:25 +0200

funding tx: use fees from config and set rbf

Diffstat:
Melectrum/lnbase.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/lnbase.py b/electrum/lnbase.py @@ -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