chore: fix clippy errors (#9845)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
nk_ysg
2024-07-27 13:33:29 +08:00
committed by GitHub
parent 1ffa3d147d
commit 7df42454c0
10 changed files with 43 additions and 38 deletions

View File

@ -262,10 +262,10 @@ pub async fn test_exex_context_with_chain_spec(
let genesis = provider_factory
.block_by_hash(genesis_hash)?
.ok_or(eyre::eyre!("genesis block not found"))?
.ok_or_else(|| eyre::eyre!("genesis block not found"))?
.seal_slow()
.seal_with_senders()
.ok_or(eyre::eyre!("failed to recover senders"))?;
.ok_or_else(|| eyre::eyre!("failed to recover senders"))?;
let head = Head {
number: genesis.number,