mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-31 19:14:43 +01:00
66eca2ff3f
Before this patch we would only update `channel->last_tx` with the newly proposed closure tx from the peer if the fee of the new one was lower. In negotiations where we are at the higher end and the peer starts lower, all peer's subsequent proposals will be higher than his initial proposal and in this case we would never update `channel->last_tx` and would wrongly broadcast his initial proposal at the end of the negotiation. Fixes https://github.com/ElementsProject/lightning/issues/3549 Changelog-Fixed: Always broadcast the latest close transaction at the end of the close fee negotiation, instead of sometimes broadcasting the peer's initial closing proposal. |
||
---|---|---|
.. | ||
data | ||
plugins | ||
benchmark.py | ||
conftest.py | ||
db.py | ||
fixtures.py | ||
requirements.txt | ||
test_closing.py | ||
test_connection.py | ||
test_db.py | ||
test_gossip.py | ||
test_invoices.py | ||
test_misc.py | ||
test_pay.py | ||
test_plugin.py | ||
test_wallet.py | ||
utils.py |