Commit d7b67eca by Dora E. Mondrian Committed by GitHub

Use address type

parent e4427bef
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment