X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FMonitorUpdateId.java;h=8305de6710aeb3449b132f10c38178d72a0994f2;hb=13cdf8bde340072288b39a5e29f0946d3e095ad4;hp=89929f9608b74ffc677b1ffde8639cd7f1b07726;hpb=1854b5cebef22ace9e9e4dd191f609818df9ce08;p=ldk-java diff --git a/src/main/java/org/ldk/structs/MonitorUpdateId.java b/src/main/java/org/ldk/structs/MonitorUpdateId.java index 89929f96..8305de67 100644 --- a/src/main/java/org/ldk/structs/MonitorUpdateId.java +++ b/src/main/java/org/ldk/structs/MonitorUpdateId.java @@ -33,7 +33,7 @@ public class MonitorUpdateId extends CommonBase { long ret = bindings.MonitorUpdateId_clone(this.ptr); Reference.reachabilityFence(this); if (ret >= 0 && ret <= 4096) { return null; } - MonitorUpdateId ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new MonitorUpdateId(null, ret); } + org.ldk.structs.MonitorUpdateId ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.MonitorUpdateId(null, ret); } ret_hu_conv.ptrs_to.add(this); return ret_hu_conv; } @@ -56,7 +56,7 @@ public class MonitorUpdateId extends CommonBase { * Two objects with NULL inner values will be considered "equal" here. */ public boolean eq(MonitorUpdateId b) { - boolean ret = bindings.MonitorUpdateId_eq(this.ptr, b == null ? 0 : b.ptr & ~1); + boolean ret = bindings.MonitorUpdateId_eq(this.ptr, b == null ? 0 : b.ptr); Reference.reachabilityFence(this); Reference.reachabilityFence(b); this.ptrs_to.add(b);