Update auto-generated bindings to 0.0.102
[ldk-java] / src / main / java / org / ldk / structs / ShutdownScript.java
index f63fed8a3925edd0c3e3b66184ff1f441a16e626..5d19017c52e58f613164d46a6f9072d3d08ad1e8 100644 (file)
@@ -50,28 +50,6 @@ public class ShutdownScript extends CommonBase {
                return ret_hu_conv;
        }
 
-       /**
-        * Generates a P2PKH script pubkey from the given [`PubkeyHash`].
-        */
-       public static ShutdownScript new_p2pkh(byte[] pubkey_hash) {
-               long ret = bindings.ShutdownScript_new_p2pkh(pubkey_hash);
-               if (ret >= 0 && ret < 1024) { return null; }
-               ShutdownScript ret_hu_conv = new ShutdownScript(null, ret);
-               ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               return ret_hu_conv;
-       }
-
-       /**
-        * Generates a P2SH script pubkey from the given [`ScriptHash`].
-        */
-       public static ShutdownScript new_p2sh(byte[] script_hash) {
-               long ret = bindings.ShutdownScript_new_p2sh(script_hash);
-               if (ret >= 0 && ret < 1024) { return null; }
-               ShutdownScript ret_hu_conv = new ShutdownScript(null, ret);
-               ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               return ret_hu_conv;
-       }
-
        /**
         * Generates a P2WPKH script pubkey from the given [`WPubkeyHash`].
         */