Skip to content

Commit

Permalink
fix: lints
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Jul 8, 2024
1 parent 5d3857b commit b22980d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/derive/src/online/alloy_providers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ impl AlloyL2ChainProvider {

/// Returns the latest L2 block number.
pub async fn latest_block_number(&mut self) -> Result<u64> {
let b: TransportResult<alloc::string::String> = self.inner.raw_request("eth_blockNumber".into(), ()).await;
let b: TransportResult<alloc::string::String> =
self.inner.raw_request("eth_blockNumber".into(), ()).await;
match b {
Ok(s) => {
let s = alloc::string::String::from(s.trim_start_matches("0x"));
Expand Down

0 comments on commit b22980d

Please sign in to comment.