Skip to content

Commit

Permalink
Remove redundant var
Browse files Browse the repository at this point in the history
Signed-off-by: deniallugo <[email protected]>
  • Loading branch information
Deniallugo committed Jul 6, 2021
1 parent a8d3b75 commit 75ce2df
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/lib/eth_client/src/clients/http_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,6 @@ impl<S: EthereumSigner> ETHDirectClient<S> {
.function(func)
.expect("failed to get function parameters");

let a: Vec<_> = f.inputs.iter().map(|p| p.kind.clone()).collect();

f.encode_input(&params.into_tokens())
.expect("failed to encode parameters")
}
Expand Down

0 comments on commit 75ce2df

Please sign in to comment.