X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FOption_HTLCDestinationZ.java;h=c82c9dfd3f30165f18de47d8fd610b232451a0ff;hb=7b75443b8305c6a24d3c08520e1785e9d39960e4;hp=305676378271ea40fa54b48beac23746b4f45f94;hpb=330ca992be304d0eac79bd59b411980dff294b03;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Option_HTLCDestinationZ.java b/src/main/java/org/ldk/structs/Option_HTLCDestinationZ.java index 30567637..c82c9dfd 100644 --- a/src/main/java/org/ldk/structs/Option_HTLCDestinationZ.java +++ b/src/main/java/org/ldk/structs/Option_HTLCDestinationZ.java @@ -9,7 +9,7 @@ import javax.annotation.Nullable; /** - * An enum which can either contain a crate::lightning::util::events::HTLCDestination or not + * An enum which can either contain a crate::lightning::events::HTLCDestination or not */ @SuppressWarnings("unchecked") // We correctly assign various generic arrays public class Option_HTLCDestinationZ extends CommonBase { @@ -31,7 +31,7 @@ public class Option_HTLCDestinationZ extends CommonBase { } /** - * When we're in this state, this COption_HTLCDestinationZ contains a crate::lightning::util::events::HTLCDestination + * When we're in this state, this COption_HTLCDestinationZ contains a crate::lightning::events::HTLCDestination */ public final static class Some extends Option_HTLCDestinationZ { public final org.ldk.structs.HTLCDestination some; @@ -52,7 +52,7 @@ public class Option_HTLCDestinationZ extends CommonBase { } } /** - * Constructs a new COption_HTLCDestinationZ containing a crate::lightning::util::events::HTLCDestination + * Constructs a new COption_HTLCDestinationZ containing a crate::lightning::events::HTLCDestination */ public static Option_HTLCDestinationZ some(org.ldk.structs.HTLCDestination o) { long ret = bindings.COption_HTLCDestinationZ_some(o.ptr); @@ -60,6 +60,7 @@ public class Option_HTLCDestinationZ extends CommonBase { if (ret >= 0 && ret <= 4096) { return null; } org.ldk.structs.Option_HTLCDestinationZ ret_hu_conv = org.ldk.structs.Option_HTLCDestinationZ.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; }