add revocable flag

This commit is contained in:
Francisco Giordano
2017-08-29 12:40:31 -03:00
committed by Martín Triay
parent 998c72ab5b
commit 3da7c31484
2 changed files with 11 additions and 3 deletions

View File

@ -22,7 +22,7 @@ contract('TokenVesting', function ([_, owner, beneficiary]) {
this.cliff = latestTime() + duration.years(1);
this.end = latestTime() + duration.years(2);
this.vesting = await TokenVesting.new(beneficiary, this.cliff, this.end, { from: owner });
this.vesting = await TokenVesting.new(beneficiary, this.cliff, this.end, true, { from: owner });
this.start = latestTime(); // gets the timestamp at construction