diff --git a/contracts/searcher-direct/FastLaneSearcherDirect.sol b/contracts/searcher-direct/FastLaneSearcherDirect.sol index 75b90f8..432983d 100644 --- a/contracts/searcher-direct/FastLaneSearcherDirect.sol +++ b/contracts/searcher-direct/FastLaneSearcherDirect.sol @@ -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); } diff --git a/contracts/searcher-proxy/FastLaneSearcherProxy.sol b/contracts/searcher-proxy/FastLaneSearcherProxy.sol index d56c261..fe0789e 100644 --- a/contracts/searcher-proxy/FastLaneSearcherProxy.sol +++ b/contracts/searcher-proxy/FastLaneSearcherProxy.sol @@ -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); }