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