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