mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 05:18:30 +00:00
Merge remote-tracking branch 'origin/unstable' into tree-states
This commit is contained in:
@@ -127,7 +127,7 @@ vectors_and_tests!(
|
||||
ExitTest {
|
||||
block_modifier: Box::new(|_, block| {
|
||||
// Duplicate the exit
|
||||
let exit = block.body().voluntary_exits().get(0).unwrap().clone();
|
||||
let exit = block.body().voluntary_exits().first().unwrap().clone();
|
||||
block.body_mut().voluntary_exits_mut().push(exit).unwrap();
|
||||
}),
|
||||
expected: Err(BlockProcessingError::ExitInvalid {
|
||||
|
||||
Reference in New Issue
Block a user