]> git.bitcoin.ninja Git - ldk-java/blobdiff - src/main/java/org/ldk/structs/Option_EventZ.java
Update CI references to LDK 0.0.124 drop stale memchr pins
[ldk-java] / src / main / java / org / ldk / structs / Option_EventZ.java
index 3c989b992ff0f61dd31bf41b48cb97364e544b96..c095504a58a6a5d506b49833c5718128f327a7bc 100644 (file)
@@ -9,7 +9,7 @@ import javax.annotation.Nullable;
 
 
 /**
- * An enum which can either contain a crate::lightning::util::events::Event or not
+ * An enum which can either contain a crate::lightning::events::Event or not
  */
 @SuppressWarnings("unchecked") // We correctly assign various generic arrays
 public class Option_EventZ extends CommonBase {
@@ -31,7 +31,7 @@ public class Option_EventZ extends CommonBase {
        }
 
        /**
-        * When we're in this state, this COption_EventZ contains a crate::lightning::util::events::Event
+        * When we're in this state, this COption_EventZ contains a crate::lightning::events::Event
         */
        public final static class Some extends Option_EventZ {
                public final org.ldk.structs.Event some;
@@ -52,7 +52,7 @@ public class Option_EventZ extends CommonBase {
                }
        }
        /**
-        * Constructs a new COption_EventZ containing a crate::lightning::util::events::Event
+        * Constructs a new COption_EventZ containing a crate::lightning::events::Event
         */
        public static Option_EventZ some(org.ldk.structs.Event o) {
                long ret = bindings.COption_EventZ_some(o.ptr);
@@ -60,7 +60,6 @@ public class Option_EventZ extends CommonBase {
                if (ret >= 0 && ret <= 4096) { return null; }
                org.ldk.structs.Option_EventZ ret_hu_conv = org.ldk.structs.Option_EventZ.constr_from_ptr(ret);
                if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(ret_hu_conv); };
-               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(o); };
                return ret_hu_conv;
        }