[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / Result_RoutingFeesDecodeErrorZ.java
index 962132e92f0e4ef07afc9fa2e187fb5c18e51394..5e34a8abce22516f31be2ae4f558840dd0f258f0 100644 (file)
@@ -45,7 +45,7 @@ public class Result_RoutingFeesDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_RoutingFeesDecodeErrorZ in the success state.
         */
-       public static Result_RoutingFeesDecodeErrorZ ok(RoutingFees o) {
+       public static Result_RoutingFeesDecodeErrorZ ok(org.ldk.structs.RoutingFees o) {
                long ret = bindings.CResult_RoutingFeesDecodeErrorZ_ok(o == null ? 0 : o.ptr);
                Reference.reachabilityFence(o);
                if (ret >= 0 && ret <= 4096) { return null; }
@@ -57,11 +57,12 @@ public class Result_RoutingFeesDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_RoutingFeesDecodeErrorZ in the error state.
         */
-       public static Result_RoutingFeesDecodeErrorZ err(DecodeError e) {
+       public static Result_RoutingFeesDecodeErrorZ err(org.ldk.structs.DecodeError e) {
                long ret = bindings.CResult_RoutingFeesDecodeErrorZ_err(e.ptr);
                Reference.reachabilityFence(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_RoutingFeesDecodeErrorZ ret_hu_conv = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(e); };
                return ret_hu_conv;
        }