Skip to content

Commit

Permalink
Adding missing error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
chompomonim committed May 16, 2022
1 parent 067f61f commit 1c50865
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/Registry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ contract Registry is FundsRecovery, Utils {

minimalHermesStake = _minimalHermesStake;

require(_tokenAddress != address(0));
require(_tokenAddress != address(0), "Registry: token smart contract can't be deployed into 0x0 address");
token = IERC20Token(_tokenAddress);

require(_dexAddress != address(0));
require(_dexAddress != address(0), "Registry: dex can't be deployed into 0x0 address");
dex = _dexAddress;

// Set initial channel implementations
Expand Down

0 comments on commit 1c50865

Please sign in to comment.