From d12de296ac34d7485176e5fa3f1ea84c8fd234c2 Mon Sep 17 00:00:00 2001 From: Sowmayjain Date: Sun, 27 Jan 2019 05:10:21 +0530 Subject: [PATCH] Optimised the code. --- contracts/v2/DAI2ETH.sol | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contracts/v2/DAI2ETH.sol b/contracts/v2/DAI2ETH.sol index 875001a..1efa475 100644 --- a/contracts/v2/DAI2ETH.sol +++ b/contracts/v2/DAI2ETH.sol @@ -52,8 +52,7 @@ contract Trade is Registry { address dest, uint destAmt, address beneficiary, - uint minConversionRate, - address affiliate + uint minConversionRate ); function approveDAIKyber() public { @@ -85,7 +84,7 @@ contract Trade is Registry { ); emit KyberTrade( - src, srcDAI, dest, destAmt, msg.sender, minConversionRate, getAddress("admin") + src, srcDAI, dest, destAmt, msg.sender, minConversionRate ); }