* Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None
*/
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);
GC.KeepAlive(this);
GC.KeepAlive(node_id);
if (ret >= 0 && ret <= 4096) { return null; }