Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Jan 27, 2023
1 parent c82ef87 commit 791cf47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion consensus/proto_array/src/proto_array_fork_choice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1103,10 +1103,12 @@ mod test_compute_deltas {
},
);

let finalized_root = get_block_root(last_slot_of_epoch_0);

// Set the finalized checkpoint to finalize the first slot of epoch 1 on
// the canonical chain.
fc.proto_array.finalized_checkpoint = Checkpoint {
root: get_block_root(last_slot_of_epoch_0),
root: finalized_root,
epoch: Epoch::new(1),
};

Expand Down

0 comments on commit 791cf47

Please sign in to comment.