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