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