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