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