diff --git a/script/evgrd/src/lib.rs b/script/evgrd/src/lib.rs index 50a7b7546..45688de33 100644 --- a/script/evgrd/src/lib.rs +++ b/script/evgrd/src/lib.rs @@ -173,7 +173,7 @@ impl LocalEventGraph { loop { // Find the next rotation timestamp: - let next_rotation = next_rotation_timestamp(INITIAL_GENESIS, days_rotation); + let next_rotation = next_rotation_timestamp(INITIAL_GENESIS / 1000, days_rotation); // Prepare the new genesis event let current_genesis = Event { diff --git a/src/event_graph/mod.rs b/src/event_graph/mod.rs index e32556266..765fe1d55 100644 --- a/src/event_graph/mod.rs +++ b/src/event_graph/mod.rs @@ -509,7 +509,7 @@ impl EventGraph { loop { // Find the next rotation timestamp: - let next_rotation = next_rotation_timestamp(INITIAL_GENESIS, days_rotation); + let next_rotation = next_rotation_timestamp(INITIAL_GENESIS / 1000, days_rotation); // Prepare the new genesis event let current_genesis = Event {