X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FChannelTypeFeatures.java;h=54b7de0bf7b72e841aad56b08eb8569c12396900;hb=330ca992be304d0eac79bd59b411980dff294b03;hp=0169bbc5c09337c9d3f39de830624c7e5280aa72;hpb=f385eff0dd0aa61fbf21ae946c424f4a6a26de04;p=ldk-java diff --git a/src/main/java/org/ldk/structs/ChannelTypeFeatures.java b/src/main/java/org/ldk/structs/ChannelTypeFeatures.java index 0169bbc5..54b7de0b 100644 --- a/src/main/java/org/ldk/structs/ChannelTypeFeatures.java +++ b/src/main/java/org/ldk/structs/ChannelTypeFeatures.java @@ -34,7 +34,7 @@ public class ChannelTypeFeatures extends CommonBase { * This ignores pointers and is_owned flags and looks at the values in fields. * Two objects with NULL inner values will be considered "equal" here. */ - public boolean eq(ChannelTypeFeatures b) { + public boolean eq(org.ldk.structs.ChannelTypeFeatures b) { boolean ret = bindings.ChannelTypeFeatures_eq(this.ptr, b == null ? 0 : b.ptr); Reference.reachabilityFence(this); Reference.reachabilityFence(b); @@ -75,17 +75,6 @@ public class ChannelTypeFeatures extends CommonBase { return ret_hu_conv; } - /** - * Creates a Features with the bits set which are known by the implementation - */ - public static ChannelTypeFeatures known() { - long ret = bindings.ChannelTypeFeatures_known(); - if (ret >= 0 && ret <= 4096) { return null; } - org.ldk.structs.ChannelTypeFeatures ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.ChannelTypeFeatures(null, ret); } - if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(ret_hu_conv); }; - return ret_hu_conv; - } - /** * Returns true if this `Features` object contains unknown feature flags which are set as * \"required\".