Przeglądaj źródła

event_graph: add TODO for methods

x 2 lat temu
rodzic
commit
70a30a211f
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/event_graph/mod.rs

+ 1 - 0
src/event_graph/mod.rs

@@ -504,6 +504,7 @@ impl EventGraph {
 
     /// Get the current set of unreferenced tips in the DAG.
     async fn get_unreferenced_tips(&self) -> [blake3::Hash; N_EVENT_PARENTS] {
+        // TODO: return vec of all instead of N_EVENT_PARENTS
         let unreferenced_tips = self.unreferenced_tips.read().await;
 
         let mut tips = [NULL_ID; N_EVENT_PARENTS];