removing sender as not needed

This commit is contained in:
Lecky Lao 2020-08-16 03:03:57 +10:00
parent 6474ee6b63
commit 522af88811
2 changed files with 2 additions and 4 deletions

View File

@ -26,15 +26,14 @@ contract CurveVestingHelpers is Stores, DSMath{
}
contract CurveVestingProtocol is CurveVestingHelpers {
event LogClaim(address sender, uint256 claimable, uint256 getId, uint256 setId);
event LogClaim(address account, uint256 claimable, uint256 getId, uint256 setId);
/**
* @dev Claim Curve DAO Token.
* @param sender address of the sender.
* @param getId Get token amount at this ID from `InstaMemory` Contract.
* @param setId Set token amount at this ID in `InstaMemory` Contract.
*/
function claim(address sender, uint getId, uint setId) external{
function claim(uint getId, uint setId) external{
TokenInterface curveTokenContract = TokenInterface(getCurveTokenAddr());
uint initialCurveBal = curveTokenContract.balanceOf(address(this));

View File

@ -28,7 +28,6 @@ contract("ConnectCurveVestingProtocol", async accounts => {
it('can claim CRV', async function() {
const tx = await mockConnectCurveVestingProtocol.claim(
sender,
0,
0
)