File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11pragma solidity ^ 0.4.11 ;
22
3+ import "../math/Math.sol " ;
34import "./StandardToken.sol " ;
45import "./LimitedTransferToken.sol " ;
56
@@ -121,7 +122,7 @@ contract VestedToken is StandardToken, LimitedTransferToken {
121122
122123 // Return the minimum of how many vested can transfer and other value
123124 // in case there are other limiting transferability factors (default is balanceOf)
124- return SafeMath .min256 (vestedTransferable, super .transferableTokens (holder, time));
125+ return Math .min256 (vestedTransferable, super .transferableTokens (holder, time));
125126 }
126127
127128 /**
@@ -241,7 +242,7 @@ contract VestedToken is StandardToken, LimitedTransferToken {
241242 date = uint64 (now );
242243 uint256 grantIndex = grants[holder].length ;
243244 for (uint256 i = 0 ; i < grantIndex; i++ ) {
244- date = SafeMath .max64 (grants[holder][i].vesting, date);
245+ date = Math .max64 (grants[holder][i].vesting, date);
245246 }
246247 }
247248}
You can’t perform that action at this time.
0 commit comments