[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / P2PGossipSync.cs
index 8fc4eb5e1f70bddf462045c3dcccbfbc969379d9..ab6182953ca4e2889cf740b94fc3aa29230188b4 100644 (file)
@@ -26,7 +26,7 @@ public class P2PGossipSync : CommonBase {
         * correct, and the announcement is signed with channel owners' keys.
         */
        public static P2PGossipSync of(org.ldk.structs.NetworkGraph network_graph, org.ldk.structs.Option_UtxoLookupZ utxo_lookup, org.ldk.structs.Logger logger) {
-               long ret = bindings.P2PGossipSync_new(network_graph == null ? 0 : network_graph.ptr, utxo_lookup.ptr, logger.ptr);
+               long ret = bindings.P2PGossipSync_new(network_graph.ptr, utxo_lookup.ptr, logger.ptr);
                GC.KeepAlive(network_graph);
                GC.KeepAlive(utxo_lookup);
                GC.KeepAlive(logger);