Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
wborgeaud committed Mar 19, 2024
1 parent 4e441f2 commit 1e9de03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leader/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ 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", ["0x1ff44bfe843dcc37b85de404ebc8c288e14e7d1415700684ad9e01ccd382646d"]).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 1e9de03

Please sign in to comment.