[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / Result_HostnameDecodeErrorZ.cs
index 2fd97360bbfaec53f58581fd119b99e013ed6cc5..c7e34cfcb3ee7a5a3cf6917045eec2f566500116 100644 (file)
@@ -42,7 +42,7 @@ public class Result_HostnameDecodeErrorZ : CommonBase {
         * Creates a new CResult_HostnameDecodeErrorZ in the success state.
         */
        public static Result_HostnameDecodeErrorZ ok(org.ldk.structs.Hostname o) {
-               long ret = bindings.CResult_HostnameDecodeErrorZ_ok(o == null ? 0 : o.ptr);
+               long ret = bindings.CResult_HostnameDecodeErrorZ_ok(o.ptr);
                GC.KeepAlive(o);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_HostnameDecodeErrorZ ret_hu_conv = Result_HostnameDecodeErrorZ.constr_from_ptr(ret);