Skip to content

Commit

Permalink
Address PR feedback on if comment placement
Browse files Browse the repository at this point in the history
  • Loading branch information
ephess committed Jan 8, 2024
1 parent bcff934 commit f9017cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/searcher-direct/FastLaneSearcherDirect.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ abstract contract FastLaneSearcherDirectContract is ReentrancyGuard {
// Execute the searcher's intended function
(bool success, bytes memory returnedData) = address(this).call(_searcherCallData);

// If the call didn't turn out the way you wanted, revert either here or inside your MEV function itself
if (!success) {
// If the call didn't turn out the way you wanted, revert either here or inside your MEV function itself
return (false, returnedData);
}

Expand Down
2 changes: 1 addition & 1 deletion contracts/searcher-proxy/FastLaneSearcherProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ contract FastLaneSearcherProxyContract is ReentrancyGuard {
// to allow this contract.
(bool success, bytes memory returnedData) = searcherContract.call(_searcherCallData);

// If the call didn't turn out the way you wanted, revert either here or inside your MEV function itself
if (!success) {
// If the call didn't turn out the way you wanted, revert either here or inside your MEV function itself
return (false, returnedData);
}

Expand Down

0 comments on commit f9017cc

Please sign in to comment.