From fa3e5b0c0fdd2aa297b104cd0f350519cafa892b Mon Sep 17 00:00:00 2001 From: Mubaris NK Date: Sun, 28 Mar 2021 00:01:18 +0530 Subject: [PATCH] Minor change --- contracts/TokenDelegator.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/TokenDelegator.sol b/contracts/TokenDelegator.sol index 7618e91..5efad45 100644 --- a/contracts/TokenDelegator.sol +++ b/contracts/TokenDelegator.sol @@ -12,6 +12,7 @@ contract TokenDelegator is TokenDelegatorStorage, TokenEvents { uint changeImplementationAfter_, bool transferPaused_ ) { + require(implementation_ != address(0), "TokenDelegator::constructor invalid address"); delegateTo( implementation_, abi.encodeWithSignature(