setId in deposit as mintAmt

This commit is contained in:
Samyak Jain 2020-05-06 15:06:15 +10:00
parent 8721e7ec63
commit 783cccd011

View File

@ -165,7 +165,7 @@ contract CurveProtocol is CurveHelpers {
uint mintAmt = sub(finalCurveBal, initialCurveBal); uint mintAmt = sub(finalCurveBal, initialCurveBal);
setUint(setId, _amt); setUint(setId, mintAmt);
emit LogDeposit(token, _amt, mintAmt, getId, setId); emit LogDeposit(token, _amt, mintAmt, getId, setId);
bytes32 _eventCode = keccak256("LogDeposit(address,uint256,uint256,uint256,uint256)"); bytes32 _eventCode = keccak256("LogDeposit(address,uint256,uint256,uint256,uint256)");