refactor: (Solution) replace check_amount with checked_amount
- This is to have consistency with checked_token
This commit is contained in:
@@ -61,8 +61,8 @@ fn main() {
|
||||
given_token: weth.clone(),
|
||||
given_amount: BigUint::from_str("1_000000000000000000").expect("Failed to create amount"),
|
||||
checked_token: usdc.clone(),
|
||||
exact_out: false, // it's an exact in solution
|
||||
check_amount: None, // the amount out will not be checked in execution
|
||||
exact_out: false, // it's an exact in solution
|
||||
checked_amount: None, // the amount out will not be checked in execution
|
||||
swaps: vec![simple_swap],
|
||||
router_address,
|
||||
..Default::default()
|
||||
|
||||
Reference in New Issue
Block a user