[TS] Update auto-generated bindings to LDK-C-Bindings 0.0.123.1
[ldk-java] / c_sharp / src / org / ldk / structs / OutPoint.cs
index 2d01d0a24cc9c02ab95d5f77cff1cbb846cd3e50..b70584232267592fe56c07103baa1dd67c9a9344 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); };
@@ -117,13 +117,13 @@ public class OutPoint : CommonBase {
                return (int)this.hash();
        }
        /**
-        * Convert an `OutPoint` to a lightning channel id.
+        * Get the string representation of a OutPoint object
         */
-       public byte[] to_channel_id() {
-               long ret = bindings.OutPoint_to_channel_id(this.ptr);
+       public string to_str() {
+               long ret = bindings.OutPoint_to_str(this.ptr);
                GC.KeepAlive(this);
                if (ret >= 0 && ret <= 4096) { return null; }
-               byte[] ret_conv = InternalUtils.decodeUint8Array(ret);
+               string ret_conv = InternalUtils.decodeString(ret);
                return ret_conv;
        }