Fix all compile errors from v0.4.0 update

This commit is contained in:
Paul Hauner
2019-03-07 12:53:15 +11:00
parent a4e604a41e
commit 5a21e19a31
12 changed files with 74 additions and 65 deletions

View File

@@ -78,7 +78,7 @@ fn main() {
// Slot clock
let genesis_time = 1_549_935_547; // 12th Feb 2018 (arbitrary value in the past).
let slot_clock = SystemTimeSlotClock::new(genesis_time, spec.slot_duration)
let slot_clock = SystemTimeSlotClock::new(genesis_time, spec.seconds_per_slot)
.expect("Unable to load SystemTimeSlotClock");
// Choose the fork choice
let fork_choice = BitwiseLMDGhost::new(block_store.clone(), state_store.clone());