Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dimazhornyk committed Jan 31, 2025
1 parent 7b0b65c commit ddd22b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/lib/dal/src/models/storage_data_availability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ impl L1BatchDA {
.iter()
.find(|log| {
log.key
== H256::from_low_u64_be(
zksync_system_constants::L2_DA_VALIDATOR_OUTPUT_HASH_KEY as u64,
)
== H256::from_low_u64_be(u64::from(
zksync_system_constants::L2_DA_VALIDATOR_OUTPUT_HASH_KEY,
))
})
.unwrap() // The log is guaranteed to be present
.value;
Expand Down

0 comments on commit ddd22b2

Please sign in to comment.