Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
fleupold committed Aug 27, 2023
1 parent 628f5d3 commit 74155bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ethereum_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ mod tests {
.await
.expect("Unable to get requested swaps");

assert!(requested_swaps.len() > 0);
assert!(!requested_swaps.is_empty());
}

#[test]
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async fn handle_swap(
requested_swap.order_contract
);
let mut verification_gas_limit = match eth_client
.get_estimated_order_contract_gas(&config, requested_swap)
.get_estimated_order_contract_gas(config, requested_swap)
.await
{
Ok(res) => res,
Expand Down

0 comments on commit 74155bd

Please sign in to comment.