Use address type

This commit is contained in:
Dora E. Mondrian
2017-10-23 03:10:00 -07:00
committed by GitHub
parent e4427befbb
commit d7b67eca52

View File

@ -41,7 +41,7 @@ contract TokenVesting is Ownable {
* @param _revocable whether the vesting is revocable or not
*/
function TokenVesting(address _beneficiary, uint256 _start, uint256 _cliff, uint256 _duration, bool _revocable) {
require(_beneficiary != 0x0);
require(_beneficiary != address(0));
require(_cliff <= _duration);
beneficiary = _beneficiary;