fix: test_validate_fails_for_unwrap_wrong_last_swap

ETH was the given token not the checked token, which was wrong.
This commit is contained in:
TAMARA LIPOWSKI
2025-02-04 10:28:16 -05:00
parent 7482d228f2
commit 06603210bc

View File

@@ -407,7 +407,7 @@ mod tests {
let solution = Solution { let solution = Solution {
exact_out: false, exact_out: false,
given_token: NATIVE_ADDRESS.clone(), checked_token: NATIVE_ADDRESS.clone(),
swaps: vec![swap], swaps: vec![swap],
native_action: Some(NativeAction::Unwrap), native_action: Some(NativeAction::Unwrap),
..Default::default() ..Default::default()