Skip to content

Commit

Permalink
more lint issues :)
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed May 15, 2024
1 parent 82cae92 commit 2d56379
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion beacon_node/beacon_chain/src/data_column_verification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,8 @@ fn verify_index_matches_subnet<E: EthSpec>(
data_column: &DataColumnSidecar<E>,
subnet: u64,
) -> Result<(), GossipDataColumnError<E>> {
let expected_subnet = DataColumnSubnetId::from_column_index::<E>(data_column.index as usize);
let expected_subnet: u64 =
DataColumnSubnetId::from_column_index::<E>(data_column.index as usize).into();
if expected_subnet != subnet {
return Err(GossipDataColumnError::InvalidSubnetId {
received: subnet,
Expand Down

0 comments on commit 2d56379

Please sign in to comment.