[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / structs / ScorerAccountingForInFlightHtlcs.cs
index 6f9f629e18b32b69757627595287b145cf70fa86..ea8ffc5389d4b026fd24415aa124900abec4236f 100644 (file)
@@ -24,7 +24,7 @@ public class ScorerAccountingForInFlightHtlcs : CommonBase {
         * Initialize a new `ScorerAccountingForInFlightHtlcs`.
         */
        public static ScorerAccountingForInFlightHtlcs of(org.ldk.structs.Score scorer, org.ldk.structs.InFlightHtlcs inflight_htlcs) {
-               long ret = bindings.ScorerAccountingForInFlightHtlcs_new(scorer == null ? 0 : scorer.ptr, inflight_htlcs == null ? 0 : inflight_htlcs.ptr);
+               long ret = bindings.ScorerAccountingForInFlightHtlcs_new(scorer.ptr, inflight_htlcs == null ? 0 : inflight_htlcs.ptr);
                GC.KeepAlive(scorer);
                GC.KeepAlive(inflight_htlcs);
                if (ret >= 0 && ret <= 4096) { return null; }