mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 22:04:44 +00:00
Fix various compile errors and warnings
This commit is contained in:
@@ -25,7 +25,7 @@ fn new_state<T: EthSpec>(validator_count: usize, slot: Slot) -> BeaconState<T> {
|
||||
let mut builder =
|
||||
TestingBeaconStateBuilder::from_single_keypair(validator_count, &Keypair::random(), spec);
|
||||
|
||||
builder.teleport_to_slot(slot, spec);
|
||||
builder.teleport_to_slot(slot);
|
||||
|
||||
let (state, _keypairs) = builder.build();
|
||||
|
||||
|
||||
@@ -300,7 +300,7 @@ mod committees {
|
||||
);
|
||||
|
||||
let slot = state_epoch.start_slot(T::slots_per_epoch());
|
||||
builder.teleport_to_slot(slot, spec);
|
||||
builder.teleport_to_slot(slot);
|
||||
|
||||
let (mut state, _keypairs): (BeaconState<T>, _) = builder.build();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user