From d7b67eca52aa952db6916bf6a48c6669ff148942 Mon Sep 17 00:00:00 2001 From: "Dora E. Mondrian" <33023863+doraemondrian@users.noreply.github.com> Date: Mon, 23 Oct 2017 03:10:00 -0700 Subject: [PATCH] Use address type --- contracts/token/TokenVesting.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/token/TokenVesting.sol b/contracts/token/TokenVesting.sol index a4ca4b088..d1911f818 100644 --- a/contracts/token/TokenVesting.sol +++ b/contracts/token/TokenVesting.sol @@ -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;