Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / Result_ChannelFeaturesDecodeErrorZ.java
index 5b28e95305b62bd0fd3c896fa4019a4da569e2e7..e78155d8f590cede0f4b095dc2a06f10522a1e6d 100644 (file)
@@ -43,7 +43,7 @@ public class Result_ChannelFeaturesDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_ChannelFeaturesDecodeErrorZ in the success state.
         */
-       public static Result_ChannelFeaturesDecodeErrorZ constructor_ok(ChannelFeatures o) {
+       public static Result_ChannelFeaturesDecodeErrorZ ok(ChannelFeatures o) {
                long ret = bindings.CResult_ChannelFeaturesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ChannelFeaturesDecodeErrorZ ret_hu_conv = Result_ChannelFeaturesDecodeErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(o);
@@ -53,7 +53,7 @@ public class Result_ChannelFeaturesDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_ChannelFeaturesDecodeErrorZ in the error state.
         */
-       public static Result_ChannelFeaturesDecodeErrorZ constructor_err(DecodeError e) {
+       public static Result_ChannelFeaturesDecodeErrorZ err(DecodeError e) {
                long ret = bindings.CResult_ChannelFeaturesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ChannelFeaturesDecodeErrorZ ret_hu_conv = Result_ChannelFeaturesDecodeErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(e);