Fix lint errors.

This commit is contained in:
Nicolás Venturo
2019-01-11 13:20:43 -03:00
parent ab8c9f1c10
commit 5997da9693
8 changed files with 19 additions and 14 deletions

View File

@ -79,8 +79,7 @@ contract('TokenVesting', function ([_, owner, beneficiary]) {
it('should release proper amount after cliff', async function () {
await time.increaseTo(this.start.add(this.cliffDuration));
const { receipt } = await this.vesting.release(this.token.address);
const block = await web3.eth.getBlock(receipt.blockNumber);
await this.vesting.release(this.token.address);
const releaseTime = await time.latest();
const releasedAmount = amount.mul(releaseTime.sub(this.start)).div(this.duration);