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