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