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