[TS] Update auto-generated bindings
[ldk-java] / ts / structs / P2PGossipSync.mts
index 2e980a11245bc969156610073a0027d6050986b1..362415d8e4dfd1570d7b51c8c2eb85b470b33db6 100644 (file)
@@ -456,7 +456,7 @@ export class P2PGossipSync extends CommonBase {
         * correct, and the announcement is signed with channel owners' keys.
         */
        public static constructor_new(network_graph: NetworkGraph, utxo_lookup: Option_UtxoLookupZ, logger: Logger): P2PGossipSync {
-               const ret: bigint = bindings.P2PGossipSync_new(network_graph == null ? 0n : CommonBase.get_ptr_of(network_graph), CommonBase.get_ptr_of(utxo_lookup), logger == null ? 0n : CommonBase.get_ptr_of(logger));
+               const ret: bigint = bindings.P2PGossipSync_new(network_graph == null ? 0n : CommonBase.get_ptr_of(network_graph), CommonBase.get_ptr_of(utxo_lookup), CommonBase.get_ptr_of(logger));
                const ret_hu_conv: P2PGossipSync = new P2PGossipSync(null, ret);
                CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv);
                CommonBase.add_ref_from(ret_hu_conv, network_graph);