The sandwicher should be where the swap value accumulates

This commit is contained in:
Luke Van Seters 2022-01-08 16:15:39 -05:00
parent 4930065045
commit 50ff7dadcd

View File

@ -28,8 +28,7 @@ def _get_sandwich_starting_with_swap(
front_swap: Swap,
rest_swaps: List[Swap],
) -> Optional[Sandwich]:
sandwicher_address = front_swap.from_address
sandwicher_address = front_swap.to_address
sandwiched_swaps = []
for other_swap in rest_swaps: