Skip to content

Commit

Permalink
timedmint instead of exposed, final test version
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Huberts authored and Marco Huberts committed Jan 18, 2022
1 parent 0010002 commit 5e61e13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion contracts/ERC20TimedMint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ contract Erc20TimedMint is ERC20 {
{
if(timeDelayActive) {
require(block.timestamp >= timeUntilNextMint, "ERC20: Cannot mint yet");
//newtimeuntilnextmint every time you mint it should set a new time until next min. timestamp new mint
require(amount <= mintCap, "ERC20: Mint exceeds maximum amount");
_setNextMintTime();
}
Expand Down
2 changes: 1 addition & 1 deletion test/ExposedTimedMint.ts → test/TimedMint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ chai.use(solidity);

const { expect } = chai;

describe.only("ExposedTimedMint", () => {
describe("TimedMint", () => {
let exposedTimedMint: ExposedTimedMint,
deployer: Signer,
admin1: Signer,
Expand Down

0 comments on commit 5e61e13

Please sign in to comment.