From 06603210bcd567ce50ec79344024ea2b722ebcd3 Mon Sep 17 00:00:00 2001 From: TAMARA LIPOWSKI Date: Tue, 4 Feb 2025 10:28:16 -0500 Subject: [PATCH] fix: test_validate_fails_for_unwrap_wrong_last_swap ETH was the given token not the checked token, which was wrong. --- src/encoding/evm/tycho_encoder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encoding/evm/tycho_encoder.rs b/src/encoding/evm/tycho_encoder.rs index 1ad1f6f..3006ee3 100644 --- a/src/encoding/evm/tycho_encoder.rs +++ b/src/encoding/evm/tycho_encoder.rs @@ -407,7 +407,7 @@ mod tests { let solution = Solution { exact_out: false, - given_token: NATIVE_ADDRESS.clone(), + checked_token: NATIVE_ADDRESS.clone(), swaps: vec![swap], native_action: Some(NativeAction::Unwrap), ..Default::default()