}
/**
- * Generates a P2WSH script pubkey from the given segwit version and program.
+ * Generates a witness script pubkey from the given segwit version and program.
+ *
+ * Note for version-zero witness scripts you must use [`ShutdownScript::new_p2wpkh`] or
+ * [`ShutdownScript::new_p2wsh`] instead.
*
* # Errors
*
*/
public byte[] into_inner() {
byte[] ret = bindings.ShutdownScript_into_inner(this.ptr);
- this.ptrs_to.add(this);
+ ;
return ret;
}