[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / RapidGossipSync.cs
index 3937e289edc40059c57f8a222913c15357e90f46..02731cf2e8a2338ff1c01c8a14d084111f323cb8 100644 (file)
@@ -23,7 +23,7 @@ public class RapidGossipSync : CommonBase {
         * Instantiate a new [`RapidGossipSync`] instance.
         */
        public static RapidGossipSync of(org.ldk.structs.NetworkGraph network_graph, org.ldk.structs.Logger logger) {
-               long ret = bindings.RapidGossipSync_new(network_graph == null ? 0 : network_graph.ptr, logger.ptr);
+               long ret = bindings.RapidGossipSync_new(network_graph.ptr, logger.ptr);
                GC.KeepAlive(network_graph);
                GC.KeepAlive(logger);
                if (ret >= 0 && ret <= 4096) { return null; }