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