[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / Balance.cs
index 74d10f64dd27935ef0c3f688f8a1cd54979917e7..18313917f72c0f86b1b44b6b66edd23331d5b02a 100644 (file)
@@ -254,7 +254,7 @@ public class Balance : CommonBase {
         * This ignores pointers and is_owned flags and looks at the values in fields.
         */
        public bool eq(org.ldk.structs.Balance b) {
-               bool ret = bindings.Balance_eq(this.ptr, b == null ? 0 : b.ptr);
+               bool ret = bindings.Balance_eq(this.ptr, b.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(b);
                return ret;