From 2e21b0df0e29f33c9983ca61c3351dd5645231f1 Mon Sep 17 00:00:00 2001 From: Richa-iitr Date: Sat, 4 Jun 2022 09:20:36 +0530 Subject: [PATCH] minor change --- contracts/polygon/connectors/swap/helpers.sol | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/contracts/polygon/connectors/swap/helpers.sol b/contracts/polygon/connectors/swap/helpers.sol index d5493866..52bb12ad 100644 --- a/contracts/polygon/connectors/swap/helpers.sol +++ b/contracts/polygon/connectors/swap/helpers.sol @@ -22,10 +22,11 @@ abstract contract Helper { } contract SwapHelpers is Helper { - /** - *@param _connectors name of the connectors in preference order. - *@param _inputData data for the swap cast. - */ + /** + *@dev Performs the swap usign the dex aggregators. + *@param _connectors name of the connectors in preference order. + *@param _inputData data for the swap cast. + */ function _swap(string[] memory _connectors, InputData memory _inputData) internal returns ( @@ -51,7 +52,7 @@ contract SwapHelpers is Helper { keccak256("swap(address,address,uint256,uint256,bytes,uint256)") ); - string memory _1INCH = "1INCH-A"; + string memory _1INCH = "1INCH-A"; if (keccak256(bytes(_connectors[i])) == keccak256(bytes(_1INCH))) { swapData = bytes4( keccak256(