X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FChannelTypeFeatures.java;h=668dbc01e62b988de1395f5ec8657ed928f26cd8;hb=9760d533f7ecac9bb7a8249f9b557e3f995c276d;hp=b827618a127a000e8b80c2852ad5318f195030a1;hpb=f6d7282fcf6324519ea1fe4b584c8d02c95acd9e;p=ldk-java diff --git a/src/main/java/org/ldk/structs/ChannelTypeFeatures.java b/src/main/java/org/ldk/structs/ChannelTypeFeatures.java index b827618a..668dbc01 100644 --- a/src/main/java/org/ldk/structs/ChannelTypeFeatures.java +++ b/src/main/java/org/ldk/structs/ChannelTypeFeatures.java @@ -35,7 +35,7 @@ public class ChannelTypeFeatures extends CommonBase { * Two objects with NULL inner values will be considered "equal" here. */ public boolean eq(ChannelTypeFeatures b) { - boolean ret = bindings.ChannelTypeFeatures_eq(this.ptr, b == null ? 0 : b.ptr & ~1); + boolean ret = bindings.ChannelTypeFeatures_eq(this.ptr, b == null ? 0 : b.ptr); Reference.reachabilityFence(this); Reference.reachabilityFence(b); this.ptrs_to.add(b);