[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / OutPoint.cs
index 2d01d0a24cc9c02ab95d5f77cff1cbb846cd3e50..69da1bb4b1316be3fc9d0c7e7838bbe11166c268 100644 (file)
@@ -93,7 +93,7 @@ public class OutPoint : CommonBase {
         * Two objects with NULL inner values will be considered "equal" here.
         */
        public bool eq(org.ldk.structs.OutPoint b) {
-               bool ret = bindings.OutPoint_eq(this.ptr, b == null ? 0 : b.ptr);
+               bool ret = bindings.OutPoint_eq(this.ptr, b.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(b);
                if (this != null) { this.ptrs_to.AddLast(b); };
@@ -116,17 +116,6 @@ public class OutPoint : CommonBase {
        public override int GetHashCode() {
                return (int)this.hash();
        }
-       /**
-        * Convert an `OutPoint` to a lightning channel id.
-        */
-       public byte[] to_channel_id() {
-               long ret = bindings.OutPoint_to_channel_id(this.ptr);
-               GC.KeepAlive(this);
-               if (ret >= 0 && ret <= 4096) { return null; }
-               byte[] ret_conv = InternalUtils.decodeUint8Array(ret);
-               return ret_conv;
-       }
-
        /**
         * Serialize the OutPoint object into a byte array which can be read by OutPoint_read
         */