Skip to content

Commit

Permalink
ops: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
praetoriansentry committed Mar 19, 2024
1 parent 1e9de03 commit 0e45c40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion leader/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ pub async fn get_block_metadata(
.get_block(block_number)
.await?
.ok_or_else(|| anyhow!("Block not found. Block number: {}", block_number))?;
let signers = provider.request::<_, Vec<String>>("clique_getSignersAtHash", [block.hash]).await?;
let signers = provider
.request::<_, Vec<String>>("clique_getSignersAtHash", [block.hash])
.await?;
assert_eq!(signers.len(), 1);
let signer = H160::from_str(&signers[0])?;
Ok((
Expand Down

0 comments on commit 0e45c40

Please sign in to comment.