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