Skip to content

Commit

Permalink
Update error messages to reflect new name
Browse files Browse the repository at this point in the history
  • Loading branch information
trentmc committed Jul 1, 2020
1 parent c2cebb3 commit 0897b8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/DTFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ contract DTFactory is Deployer, Converter {
{
require(
_template != address(0),
'Factory: Invalid TokenFactory initialization'
'DTFactory: Invalid initialization'
);
tokenTemplate = _template;
}
Expand All @@ -74,7 +74,7 @@ contract DTFactory is Deployer, Converter {

require(
token != address(0),
'Factory: Failed to perform minimal deploy of a new token'
'DTFactory: Failed to perform minimal deploy of a new token'
);

string memory name = concatenateStrings(
Expand All @@ -94,7 +94,7 @@ contract DTFactory is Deployer, Converter {

require(
tokenInstance.isInitialized(),
'Factory: Unable to initialize token instance'
'DTFactory: Unable to initialize token instance'
);

emit TokenCreated(
Expand Down Expand Up @@ -139,4 +139,4 @@ contract DTFactory is Deployer, Converter {
{
return tokenTemplate;
}
}
}

0 comments on commit 0897b8e

Please sign in to comment.