refactor: (Solution) replace check_amount with checked_amount

- This is to have consistency with checked_token
This commit is contained in:
TAMARA LIPOWSKI
2025-02-11 11:25:58 -05:00
parent c4c282a62e
commit 1c565deb57
6 changed files with 15 additions and 15 deletions

View File

@@ -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()