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