Skip to content

Commit

Permalink
Fix cargo fmt errors with new rust
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianBorst committed Feb 26, 2024
1 parent 18685a1 commit 4661c6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion integration_tests/test_runner/src/tests/erc20_conversion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ pub async fn erc20_register_and_round_trip_test(
erc20_contracts: Vec<EthAddress>,
) {
// Register an ERC20 in the EVM to a new Cosmos Coin controlled by the bank module
let registered_erc20 = erc20_contracts.first()
let registered_erc20 = erc20_contracts
.first()
.expect("No ERC20 contracts passed to erc20 happy path test?");

// TODO: Test unregistered conversion failure
Expand Down
3 changes: 2 additions & 1 deletion integration_tests/test_runner/src/tests/ica_host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ pub async fn enable_ica_host(
.expect("No ica host params returned?");
if host_params.host_enabled
&& host_params
.allow_messages.first()
.allow_messages
.first()
.map(|m| m == "*")
.unwrap_or(false)
{
Expand Down

0 comments on commit 4661c6a

Please sign in to comment.