Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpolaczyk committed Sep 2, 2024
1 parent 1d87f19 commit 58bad1e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cumulus/client/relay-chain-interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,6 @@ pub async fn call_runtime_api<R>(
where
R: Decode,
{
let res = client
.call_runtime_api(method_name, hash, &payload.encode())
.await?;
let res = client.call_runtime_api(method_name, hash, &payload.encode()).await?;
Decode::decode(&mut &*res).map_err(Into::into)
}

0 comments on commit 58bad1e

Please sign in to comment.