mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-10 07:08:05 -05:00
bin/genev: update event_graph synced flag when we skip sync
This commit is contained in:
@@ -142,6 +142,8 @@ async fn realmain(settings: Args, executor: Arc<smol::Executor<'static>>) -> Res
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
*event_graph.synced.write().await = true;
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
use std::collections::HashSet;
|
||||
|
||||
use async_trait::async_trait;
|
||||
use log::{debug, error, info};
|
||||
use log::{debug, error};
|
||||
use smol::lock::{Mutex, MutexGuard};
|
||||
use tinyjson::JsonValue;
|
||||
|
||||
@@ -140,7 +140,7 @@ impl JsonRpcInterface {
|
||||
}
|
||||
};
|
||||
|
||||
info!("Marking event {} as seen", event_id);
|
||||
debug!("Marking event {} as seen", event_id);
|
||||
seen_events.push(genevent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user