-
Notifications
You must be signed in to change notification settings - Fork 2
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
Remove useless code from RewardFactory #172
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## main #172 +/- ##
==========================================
- Coverage 86.83% 86.32% -0.51%
==========================================
Files 13 13
Lines 676 651 -25
Branches 87 82 -5
==========================================
- Hits 587 562 -25
Misses 89 89
Continue to review full report at Codecov.
|
@@ -10,8 +10,6 @@ import "../utils/MathUtil.sol"; | |||
contract RewardFactory is IRewardFactory { | |||
using MathUtil for uint256; | |||
|
|||
event ExtraRewardAdded(address reward, uint256 pid); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, why do you think this code is not going to be used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is related to ExtraRewardStashV2, and we are using v3, which doesn't need this anymore. And it is not used anywhere
…hore-remove-useless-code
No description provided.