Ver Fonte

tau: Update eventgraph API

parazyd há 2 anos atrás
pai
commit
e12ea8d31b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      bin/tau/taud/src/main.rs

+ 1 - 1
bin/tau/taud/src/main.rs

@@ -181,7 +181,7 @@ async fn start_sync_loop(
 
                     // If it fails for some reason, for now, we just note it
                     // and pass.
-                    if let Err(e) = event_graph.dag_insert(event.clone()).await {
+                    if let Err(e) = event_graph.dag_insert(&[event.clone()]).await {
                         error!("[IRC CLIENT] Failed inserting new event to DAG: {}", e);
                     } else {
                         // We sent this, so it should be considered seen.