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