[TS] Update auto-generated bindings to LDK-C-Bindings 0.0.123.1
[ldk-java] / src / main / java / org / ldk / structs / ReadOnlyNetworkGraph.java
index 81f29a32115ef3fdfa425720a76830bd961421f8..0271d99815099d9afcd1d4d2315a2070a485cd8d 100644 (file)
@@ -50,7 +50,7 @@ public class ReadOnlyNetworkGraph extends CommonBase implements AutoCloseable {
         */
        @Nullable
        public NodeInfo node(org.ldk.structs.NodeId node_id) {
-               long ret = bindings.ReadOnlyNetworkGraph_node(this.ptr, node_id == null ? 0 : node_id.ptr);
+               long ret = bindings.ReadOnlyNetworkGraph_node(this.ptr, node_id.ptr);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(node_id);
                if (ret >= 0 && ret <= 4096) { return null; }