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