mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
event_graph and evgrd: use INITIAL_GENESIS as seconds in for prune task as well
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user