[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / structs / Persister.cs
index 1550d8e9055954731bda9e069f170eaeab4e3d58..0f9bbe37e72187ad9a4e3951b9e69d6d73abd812 100644 (file)
@@ -96,7 +96,7 @@ public class Persister : CommonBase {
         * Persist the given [`WriteableScore`] to disk, returning an error if persistence failed.
         */
        public Result_NoneErrorZ persist_scorer(org.ldk.structs.WriteableScore scorer) {
-               long ret = bindings.Persister_persist_scorer(this.ptr, scorer == null ? 0 : scorer.ptr);
+               long ret = bindings.Persister_persist_scorer(this.ptr, scorer.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(scorer);
                if (ret >= 0 && ret <= 4096) { return null; }