Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / Result_UpdateFulfillHTLCDecodeErrorZ.java
index 8525cfa3cf6a67b9fe5a69f725bf9104532f1026..58be905223c01509e6e493a6cb59fd7c42352c20 100644 (file)
@@ -43,7 +43,7 @@ public class Result_UpdateFulfillHTLCDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_UpdateFulfillHTLCDecodeErrorZ in the success state.
         */
-       public static Result_UpdateFulfillHTLCDecodeErrorZ constructor_ok(UpdateFulfillHTLC o) {
+       public static Result_UpdateFulfillHTLCDecodeErrorZ ok(UpdateFulfillHTLC o) {
                long ret = bindings.CResult_UpdateFulfillHTLCDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_UpdateFulfillHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFulfillHTLCDecodeErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(o);
@@ -53,7 +53,7 @@ public class Result_UpdateFulfillHTLCDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_UpdateFulfillHTLCDecodeErrorZ in the error state.
         */
-       public static Result_UpdateFulfillHTLCDecodeErrorZ constructor_err(DecodeError e) {
+       public static Result_UpdateFulfillHTLCDecodeErrorZ err(DecodeError e) {
                long ret = bindings.CResult_UpdateFulfillHTLCDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_UpdateFulfillHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFulfillHTLCDecodeErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(e);