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

Feature/dev #419

Merged
merged 20 commits into from
Aug 25, 2022
Merged

Feature/dev #419

merged 20 commits into from
Aug 25, 2022

Conversation

cgsingh33
Copy link
Contributor

No description provided.

if vaultInterestTracker.InterestAccumulated.GTE(sdk.OneDec()) {
newInterest := sdk.ZeroInt()

Check warning

Code scanning / CodeQL

Useless assignment to local variable

This definition of newInterest is never used.
if lockerRewardsTracker.RewardsAccumulated.GTE(sdk.OneDec()) {
//send rewards
newReward := sdk.ZeroInt()

Check warning

Code scanning / CodeQL

Useless assignment to local variable

This definition of newReward is never used.
if lockerRewardsTracker.RewardsAccumulated.GTE(sdk.OneDec()) {
//send rewards
newReward := sdk.ZeroInt()

Check warning

Code scanning / CodeQL

Useless assignment to local variable

This definition of newReward is never used.
if vaultInterestTracker.InterestAccumulated.GTE(sdk.OneDec()) {
newInterest := sdk.ZeroInt()

Check warning

Code scanning / CodeQL

Useless assignment to local variable

This definition of newInterest is never used.
@dheerajkd30 dheerajkd30 merged commit cb0fa07 into development Aug 25, 2022
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

Successfully merging this pull request may close these issues.

4 participants