Skip to content

Commit

Permalink
fix: updated setRewards
Browse files Browse the repository at this point in the history
fix: updated setRewards
  • Loading branch information
jhb10c committed Oct 15, 2021
1 parent 2180bff commit 7dc43d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/functional/vault/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,5 @@ def test_vault_setLockedProfitDegradation_range(gov, vault):
def test_vault_setParams_bad_vals(gov, vault):
with brownie.reverts():
vault.setRewards(ZERO_ADDRESS, {"from": gov})
# No one can set rewards but governance
with brownie.reverts():
vault.setRewards(vault, {"from": gov})

0 comments on commit 7dc43d5

Please sign in to comment.