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