mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-07 08:04:23 +01:00
close: accept wrong_funding outpoint arg if we negotiated the feature.
Changelog-Added: lightningd: experimental-shutdown-wrong-funding to allow remote nodes to close incorrectly opened channels. Changelog-Added: JSON-RPC: close has a new `wrong_funding` option to try to close out unused channels where we messed up the funding tx. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -486,9 +486,9 @@ lightning-offer(7) and lightning-fetchinvoice(7).
|
||||
**experimental-shutdown-wrong-funding**
|
||||
|
||||
Specifying this allows the `wrong_funding` field in shutdown: if a
|
||||
remote node has opened a channel using the incorrect txid (and it
|
||||
hasn't been used yet at all) this allows them to negotiate a clean
|
||||
shutdown with the txid they offer.
|
||||
remote node has opened a channel but claims it used the incorrect txid
|
||||
(and the channel hasn't been used yet at all) this allows them to
|
||||
negotiate a clean shutdown with the txid they offer.
|
||||
|
||||
BUGS
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user