[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / Packet.cs
index ca6ec26f5649c432ed998d9b5f34310aaee940d9..3a83c0e3a11395c7573f4ef223aa5604e6d6fae6 100644 (file)
@@ -146,7 +146,7 @@ public class Packet : CommonBase {
         * Two objects with NULL inner values will be considered "equal" here.
         */
        public bool eq(org.ldk.structs.Packet b) {
-               bool ret = bindings.Packet_eq(this.ptr, b == null ? 0 : b.ptr);
+               bool ret = bindings.Packet_eq(this.ptr, b.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(b);
                if (this != null) { this.ptrs_to.AddLast(b); };