Fix various compile errors and warnings

This commit is contained in:
Paul Hauner
2019-06-09 06:26:34 -04:00
parent ab12787610
commit a662c3a940
7 changed files with 17 additions and 19 deletions

View File

@@ -106,7 +106,7 @@ fn get_builder(spec: &ChainSpec) -> (BlockProcessingBuilder<MainnetEthSpec>) {
// Set the state and block to be in the last slot of the 4th epoch.
let last_slot_of_epoch =
(MainnetEthSpec::genesis_epoch() + 4).end_slot(MainnetEthSpec::slots_per_epoch());
builder.set_slot(last_slot_of_epoch, &spec);
builder.set_slot(last_slot_of_epoch);
builder.build_caches(&spec);
(builder)