Skip to content

Commit

Permalink
Remove mut ref
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Jun 29, 2022
1 parent d73b74c commit de0a2bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon_node/beacon_chain/tests/payload_invalidation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ async fn invalid_parent() {
// Produce another block atop the parent, but don't import yet.
let slot = parent_block.slot() + 1;
rig.harness.set_current_slot(slot);
let (block, mut state) = rig.harness.make_block(parent_state, slot).await;
let (block, state) = rig.harness.make_block(parent_state, slot).await;
let block = Arc::new(block);
let block_root = block.canonical_root();
assert_eq!(block.parent_root(), parent_root);
Expand Down Expand Up @@ -982,7 +982,7 @@ async fn invalid_parent() {
block.message(),
block_root,
Duration::from_secs(0),
&mut state,
&state,
PayloadVerificationStatus::Optimistic,
&rig.harness.chain.spec
),
Expand Down

0 comments on commit de0a2bb

Please sign in to comment.