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