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