Browse Source

[TokenVesting] Use SafeMath

Martín Triay 8 years ago
parent
commit
74636b7333
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/token/TokenVesting.sol

+ 1 - 1
contracts/token/TokenVesting.sol

@@ -47,7 +47,7 @@ contract TokenVesting is Ownable {
     beneficiary = _beneficiary;
     revocable = _revocable;
     duration = _duration;
-    cliff = _start + _cliff;
+    cliff = _start.add(_cliff);
     start = _start;
   }