Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why it can change the rewardRate to Zero? #1209

Open
hujw77 opened this issue Apr 21, 2021 · 0 comments
Open

Why it can change the rewardRate to Zero? #1209

hujw77 opened this issue Apr 21, 2021 · 0 comments

Comments

@hujw77
Copy link

hujw77 commented Apr 21, 2021

it('should update rewardRate to zero', async () => {

function notifyRewardAmount(uint256 reward) external onlyRewardsDistribution updateReward(address(0)) {

rewardRate can only changed by notifyRewardAmount?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@hujw77 and others