Skip to content

Commit

Permalink
Fix clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvc94ch committed Feb 13, 2025
1 parent 5e2917a commit 17a8c45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gmp/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ impl IConnectorAdmin for Connector {
gasLimit: gas_limit as _,
data: payload.into(),
};
let call = sol::GmpTester::sendMessageCall { msg: msg.into() };
let call = sol::GmpTester::sendMessageCall { msg };
let result = self.evm_call(contract, call, gas_cost, None, None).await?;
let id: MessageId = *result.0._0;
Ok(id)
Expand Down
1 change: 1 addition & 0 deletions tc-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,7 @@ impl Tc {
connector.estimate_message_cost(gateway, dest_network, gas_limit, payload).await
}

#[allow(clippy::too_many_arguments)]
pub async fn send_message(
&self,
src_network: NetworkId,
Expand Down

0 comments on commit 17a8c45

Please sign in to comment.