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