chore: rename straight_to_pool to direct_execution

This commit is contained in:
royvardhan
2025-01-30 21:06:30 +05:30
parent 8cb95f0950
commit 9c35da0760
4 changed files with 5 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ pub struct EVMStrategySelector;
impl StrategySelector for EVMStrategySelector {
fn select_strategy(&self, solution: &Solution) -> Box<dyn StrategyEncoder> {
if solution.straight_to_pool {
if solution.direct_execution {
Box::new(ExecutorStrategyEncoder {})
} else {
Box::new(SplitSwapStrategyEncoder {})