mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 13:21:01 +00:00
fix clippy (#1698)
This commit is contained in:
committed by
Bastian Köcher
parent
3eb24d4515
commit
66dfd2dcae
@@ -147,8 +147,7 @@ where
|
||||
let parachain = ParaId(P::SOURCE_PARACHAIN_PARA_ID);
|
||||
if parachains != [parachain] {
|
||||
return Err(SubstrateError::Custom(format!(
|
||||
"Trying to prove unexpected parachains {:?}. Expected {:?}",
|
||||
parachains, parachain,
|
||||
"Trying to prove unexpected parachains {parachains:?}. Expected {parachain:?}",
|
||||
)))
|
||||
}
|
||||
|
||||
@@ -177,8 +176,7 @@ where
|
||||
.transpose()?
|
||||
.ok_or_else(|| {
|
||||
SubstrateError::Custom(format!(
|
||||
"Failed to read expected parachain {:?} head at {:?}",
|
||||
parachain, at_block
|
||||
"Failed to read expected parachain {parachain:?} head at {at_block:?}"
|
||||
))
|
||||
})?;
|
||||
let parachain_head_hash = parachain_head.hash();
|
||||
|
||||
Reference in New Issue
Block a user