-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: address remaining issues found by Spearbit audit (#16)
* docs(StakingRewards): add warning regarding `notifyRewardAmount` usage * refactor(StakingRewards): add check in constructor Prevent `StakingRewards` from using the same token for staking and rewards, which can lead to potential accounting issues. * docs(StakingRewards): update link with the diff to the original code * chore: remove NatSpec tag and fix typo * docs: remove link to the diff to the original Synthetix code * chore: remove diff link from `StakingRewards`
- Loading branch information
1 parent
8ff5f39
commit 2e1d277
Showing
3 changed files
with
43 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters