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