[Java] Update batteries and tests to LDK 0.0.117
[ldk-java] / src / main / java / org / ldk / structs / Result_CounterpartyChannelTransactionParametersDecodeErrorZ.java
index 68f1fef5d29d921586d3d43430bef94c3e75647c..e9a67e08cf96bf9aa253f9792841b4a7a6a1a7a8 100644 (file)
@@ -45,7 +45,7 @@ public class Result_CounterpartyChannelTransactionParametersDecodeErrorZ extends
        /**
         * Creates a new CResult_CounterpartyChannelTransactionParametersDecodeErrorZ in the success state.
         */
-       public static Result_CounterpartyChannelTransactionParametersDecodeErrorZ ok(CounterpartyChannelTransactionParameters o) {
+       public static Result_CounterpartyChannelTransactionParametersDecodeErrorZ ok(org.ldk.structs.CounterpartyChannelTransactionParameters o) {
                long ret = bindings.CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_ok(o == null ? 0 : o.ptr);
                Reference.reachabilityFence(o);
                if (ret >= 0 && ret <= 4096) { return null; }
@@ -57,11 +57,12 @@ public class Result_CounterpartyChannelTransactionParametersDecodeErrorZ extends
        /**
         * Creates a new CResult_CounterpartyChannelTransactionParametersDecodeErrorZ in the error state.
         */
-       public static Result_CounterpartyChannelTransactionParametersDecodeErrorZ err(DecodeError e) {
+       public static Result_CounterpartyChannelTransactionParametersDecodeErrorZ err(org.ldk.structs.DecodeError e) {
                long ret = bindings.CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_err(e.ptr);
                Reference.reachabilityFence(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_CounterpartyChannelTransactionParametersDecodeErrorZ ret_hu_conv = Result_CounterpartyChannelTransactionParametersDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(e); };
                return ret_hu_conv;
        }