Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / Result_RoutingFeesDecodeErrorZ.java
index 01186822248e9c846838a95f32a1d1e49ef3105e..335f379a15b3e17f3d6466b46f6fbc05828620bb 100644 (file)
@@ -43,7 +43,7 @@ public class Result_RoutingFeesDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_RoutingFeesDecodeErrorZ in the success state.
         */
-       public static Result_RoutingFeesDecodeErrorZ constructor_ok(RoutingFees o) {
+       public static Result_RoutingFeesDecodeErrorZ ok(RoutingFees o) {
                long ret = bindings.CResult_RoutingFeesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_RoutingFeesDecodeErrorZ ret_hu_conv = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(o);
@@ -53,7 +53,7 @@ public class Result_RoutingFeesDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_RoutingFeesDecodeErrorZ in the error state.
         */
-       public static Result_RoutingFeesDecodeErrorZ constructor_err(DecodeError e) {
+       public static Result_RoutingFeesDecodeErrorZ err(DecodeError e) {
                long ret = bindings.CResult_RoutingFeesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_RoutingFeesDecodeErrorZ ret_hu_conv = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(e);