Skip to content

Commit

Permalink
fixed compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
markopoloparadox committed Aug 7, 2024
1 parent c671a83 commit fdbd3a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ where
ChainApi::<(), Block::Hash, Block::Header, SignedBlock<Block>>::block(&rpc, Some(hash))
.await
.or_else(|e| {
if matches!(e, substrate_rpc_client::Error::ParseError(_)) {
if matches!(e, substrate_rpc_client::ClientError::ParseError(_)) {
log::error!(
target: LOG_TARGET,
"failed to parse the block format of remote against the local \
Expand Down

0 comments on commit fdbd3a9

Please sign in to comment.