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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user