adding doc comment

This commit is contained in:
carvilsi 2025-03-19 05:51:01 +01:00
parent 7d0340c7d5
commit 3abadd1184

View File

@ -136,6 +136,7 @@ impl VeilidAPI {
.ok_or(VeilidAPIError::NotInitialized)
}
/// Get the Node ID.
pub fn get_node_id(&self) -> VeilidAPIResult<CryptoTypedGroup<CryptoKey>> {
Ok(self.config()?.get().network.routing_table.node_id.clone())
}