mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Fix test compile errors
This commit is contained in:
@@ -391,7 +391,7 @@ fn free_attestations_added_to_fork_choice_some_none() {
|
|||||||
if slot <= num_blocks_produced && slot != 0 {
|
if slot <= num_blocks_produced && slot != 0 {
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
latest_message.unwrap().1,
|
latest_message.unwrap().1,
|
||||||
slot,
|
slot.epoch(MinimalEthSpec::slots_per_epoch()),
|
||||||
"Latest message slot for {} should be equal to slot {}.",
|
"Latest message slot for {} should be equal to slot {}.",
|
||||||
validator,
|
validator,
|
||||||
slot
|
slot
|
||||||
@@ -483,7 +483,7 @@ fn free_attestations_added_to_fork_choice_all_updated() {
|
|||||||
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
latest_message.unwrap().1,
|
latest_message.unwrap().1,
|
||||||
slot,
|
slot.epoch(MinimalEthSpec::slots_per_epoch()),
|
||||||
"Latest message slot should be equal to attester duty."
|
"Latest message slot should be equal to attester duty."
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user