Minor change

This commit is contained in:
Mubaris NK 2021-03-28 00:01:18 +05:30
parent a09f9dee03
commit fa3e5b0c0f
No known key found for this signature in database
GPG Key ID: 9AC09AD0F8D68561

View File

@ -12,6 +12,7 @@ contract TokenDelegator is TokenDelegatorStorage, TokenEvents {
uint changeImplementationAfter_, uint changeImplementationAfter_,
bool transferPaused_ bool transferPaused_
) { ) {
require(implementation_ != address(0), "TokenDelegator::constructor invalid address");
delegateTo( delegateTo(
implementation_, implementation_,
abi.encodeWithSignature( abi.encodeWithSignature(