Changes for building the identify handler
This commit is contained in:
parent
31e6142e68
commit
a0731525ea
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ struct Libp2pVector* ipfs_node_online_build_protocol_handlers(struct IpfsNode* n
|
||||||
// yamux
|
// yamux
|
||||||
libp2p_utils_vector_add(retVal, libp2p_yamux_build_protocol_handler());
|
libp2p_utils_vector_add(retVal, libp2p_yamux_build_protocol_handler());
|
||||||
// identify
|
// identify
|
||||||
libp2p_utils_vector_add(retVal, libp2p_identify_build_protocol_handler(retVal));
|
libp2p_utils_vector_add(retVal, libp2p_identify_build_protocol_handler(node->identity->peer->id, node->identity->peer->id_size));
|
||||||
}
|
}
|
||||||
return retVal;
|
return retVal;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue