Class APIError.IncompatibleShutdownScript

  • Enclosing class:
    APIError

    public static final class APIError.IncompatibleShutdownScript
    extends APIError
    [`SignerProvider::get_shutdown_scriptpubkey`] returned a shutdown scriptpubkey incompatible with the channel counterparty as negotiated in [`InitFeatures`]. Using a SegWit v0 script should resolve this issue. If you cannot, you won't be able to open a channel or cooperatively close one with this peer (and will have to force-close instead). [`SignerProvider::get_shutdown_scriptpubkey`]: crate::chain::keysinterface::SignerProvider::get_shutdown_scriptpubkey [`InitFeatures`]: crate::ln::features::InitFeatures
    • Field Detail

      • script

        public final ShutdownScript script
        The incompatible shutdown script.