Skip to content

Commit

Permalink
add fallback to minter
Browse files Browse the repository at this point in the history
  • Loading branch information
ququzone committed Jan 14, 2024
1 parent 2c721c0 commit ff79324
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/Minter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ contract Minter is IMinter {
activePeriod = ((block.timestamp) / WEEK) * WEEK; // allow emissions this coming epoch
}

receive() external payable {}

/// @inheritdoc IMinter
function setTeam(address _team) external {
if (msg.sender != team) revert NotTeam();
Expand Down

0 comments on commit ff79324

Please sign in to comment.