Skip to content

Commit

Permalink
fix: clippy lints:
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Apr 30, 2024
1 parent d0bcf19 commit 6e09a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl TryFrom<AlloyBlock> for ExecutionPayload {
block_number: value.header.number.unwrap().into(),
gas_limit: (value.header.gas_limit as u64).into(),
gas_used: (value.header.gas_used as u64).into(),
timestamp: (value.header.timestamp as u64).into(),
timestamp: value.header.timestamp,

Check failure on line 87 in src/engine/payload.rs

View workflow job for this annotation

GitHub Actions / clippy

mismatched types

Check failure on line 87 in src/engine/payload.rs

View workflow job for this annotation

GitHub Actions / build

mismatched types

Check failure on line 87 in src/engine/payload.rs

View workflow job for this annotation

GitHub Actions / check

mismatched types

Check failure on line 87 in src/engine/payload.rs

View workflow job for this annotation

GitHub Actions / test

mismatched types
extra_data: Bytes::from(value.header.extra_data.0),
base_fee_per_gas: (value.header.base_fee_per_gas.unwrap_or_else(|| 0u64.into()) as u64)
.into(),
Expand Down

0 comments on commit 6e09a70

Please sign in to comment.