From 9fa32fb8881901aa538ae925c297c9b4f322d2e5 Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Wed, 23 Jun 2021 02:33:32 +0530 Subject: [PATCH] Minor fix --- contracts/mainnet/connectors/refinance/main.sol | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contracts/mainnet/connectors/refinance/main.sol b/contracts/mainnet/connectors/refinance/main.sol index bafbb69a..536f6162 100644 --- a/contracts/mainnet/connectors/refinance/main.sol +++ b/contracts/mainnet/connectors/refinance/main.sol @@ -46,7 +46,9 @@ contract RefinanceResolver is CompoundHelpers, AaveV1Helpers, AaveV2Helpers { * @notice Refinancing between AaveV1, AaveV2 and Compound * @param data refinance data. */ - function refinance(RefinanceData calldata data) external payable { + function refinance(RefinanceData calldata data) + external payable returns (string memory _eventName, bytes memory _eventParam) + { require(data.source != data.target, "source-and-target-unequal");