[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / Filter.cs
index 32fb570e1abeb195ae3a23427350203d25908834..f27d0a52b89562f31e5e738a8fcb8d6889604bc6 100644 (file)
@@ -106,7 +106,7 @@ public class Filter : CommonBase {
         * registered mid-processing.
         */
        public void register_output(org.ldk.structs.WatchedOutput output) {
-               bindings.Filter_register_output(this.ptr, output == null ? 0 : output.ptr);
+               bindings.Filter_register_output(this.ptr, output.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(output);
                if (this != null) { this.ptrs_to.AddLast(output); };