Skip to content

Commit

Permalink
fix error naming
Browse files Browse the repository at this point in the history
  • Loading branch information
0x3bfc committed Apr 30, 2020
1 parent ba4c5f1 commit 983b607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/DataTokenTemplate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ contract DataTokenTemplate is ERC20 {

function mint(address account, uint256 value) public payable onlyNotPaused onlyMinter {
uint256 startGas = gasleft();
require(totalSupply().add(value) <= _cap, "ERC20Capped: cap exceeded");
require(totalSupply().add(value) <= _cap, "DataToken: cap exceeded");

_mint(account, value);
require(msg.value >= serviceFeeManager.getFee(startGas, value),
Expand Down

0 comments on commit 983b607

Please sign in to comment.