Skip to content

Commit 8db2ab6

Browse files
committed
fixed linting
1 parent 3c24a85 commit 8db2ab6

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

crates/balancer-solver/src/infra/solution_verifier.rs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,12 +336,15 @@ impl SolutionVerifier {
336336

337337
// Call querySwapExactIn
338338
// IMPORTANT: Must set .from() to make this a proper staticcall
339-
let query = self.batch_router.methods().query_swap_exact_in(
340-
vec![path.clone()],
341-
self.batch_router.address(), // sender (required for pools with hooks)
342-
Bytes(vec![]), // empty userData
343-
)
344-
.from(Account::Local(H160::zero(), None)); // Set from address for the eth_call
339+
let query = self
340+
.batch_router
341+
.methods()
342+
.query_swap_exact_in(
343+
vec![path.clone()],
344+
self.batch_router.address(), // sender (required for pools with hooks)
345+
Bytes(vec![]), // empty userData
346+
)
347+
.from(Account::Local(H160::zero(), None)); // Set from address for the eth_call
345348

346349
// Capture contract call details for debugging
347350
let calldata = query

0 commit comments

Comments
 (0)