Skip to content

Commit fbf624e

Browse files
committed
f - Expand IncompatibleShutdownScript docs
1 parent bcef224 commit fbf624e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/util/errors.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ pub enum APIError {
5252
/// [`KeysInterface::get_shutdown_scriptpubkey`] returned a shutdown scriptpubkey incompatible
5353
/// with the channel counterparty as negotiated in [`InitFeatures`].
5454
///
55+
/// Using a SegWit v0 script should resolve this issue. If you cannot, you won't be able to open
56+
/// a channel or cooperatively close one with this peer (and will have to force-close instead).
57+
///
5558
/// [`KeysInterface::get_shutdown_scriptpubkey`]: crate::chain::keysinterface::KeysInterface::get_shutdown_scriptpubkey
5659
/// [`InitFeatures`]: crate::ln::features::InitFeatures
5760
IncompatibleShutdownScript {

0 commit comments

Comments
 (0)