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