Skip to content

Commit 529aa65

Browse files
committed
f update panic string
1 parent f16c57f commit 529aa65

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lightning/src/ln/channel.rs

+6-4
Original file line numberDiff line numberDiff line change
@@ -3833,12 +3833,14 @@ impl<Signer: Sign> Channel<Signer> {
38333833
panic!($err_msg, log_bytes!(self.channel_id), log_pubkey!(self.counterparty_node_id));
38343834
}
38353835
}
3836-
log_and_panic!("We have fallen behind - we have received proof that if we broadcast remote is going to claim all our funds.\n\
3837-
This implies you have restarted with lost ChannelMonitor and Channelmanager state, the first of which is a violation of the LDK chain::Watch requirements.\n\
3838-
More specifically, this means you have a bug in your implementation which can cause loss of funds, or you are running with an old backup, which is unsafe.\n\
3836+
log_and_panic!("We have fallen behind - we have received proof that if we broadcast our counterparty is going to claim all our funds.\n\
3837+
This implies you have restarted with lost ChannelMonitor and ChannelManager state, the first of which is a violation of the LDK chain::Watch requirements.\n\
3838+
More specifically, this means you have a bug in your implementation that can cause loss of funds, or you are running with an old backup, which is unsafe.\n\
38393839
If you have restored from an old backup and wish to force-close channels and return to operation, you should start up, call\n\
38403840
ChannelManager::force_close_without_broadcasting_txn on channel {} with counterparty {} or\n\
3841-
ChannelManager::force_close_all_channels_without_broadcasting_txn, then reconnect to peer(s).");
3841+
ChannelManager::force_close_all_channels_without_broadcasting_txn, then reconnect to peer(s).\n\
3842+
Note that due to a long-standing bug in lnd you may have to reach out to peers running lnd-based nodes to ask them to manually force-close channels\n\
3843+
See https://github.com/lightningdevkit/rust-lightning/issues/1565 for more info.");
38423844
}
38433845
},
38443846
OptionalField::Absent => {}

0 commit comments

Comments
 (0)