diff --git a/beacon_node/beacon_chain/tests/tests.rs b/beacon_node/beacon_chain/tests/tests.rs index c88fcf4d14..58bd10a4ec 100644 --- a/beacon_node/beacon_chain/tests/tests.rs +++ b/beacon_node/beacon_chain/tests/tests.rs @@ -391,7 +391,7 @@ fn free_attestations_added_to_fork_choice_some_none() { if slot <= num_blocks_produced && slot != 0 { assert_eq!( latest_message.unwrap().1, - slot, + slot.epoch(MinimalEthSpec::slots_per_epoch()), "Latest message slot for {} should be equal to slot {}.", validator, slot @@ -483,7 +483,7 @@ fn free_attestations_added_to_fork_choice_all_updated() { assert_eq!( latest_message.unwrap().1, - slot, + slot.epoch(MinimalEthSpec::slots_per_epoch()), "Latest message slot should be equal to attester duty." );