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