Skip to content

Commit

Permalink
Remove unused load fromBucket storage
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy committed Mar 13, 2023
1 parent 94b2774 commit a513472
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/RewardsManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ contract RewardsManager is IRewardsManager, ReentrancyGuard {
fromIndex = fromBuckets_[i];
toIndex = toBuckets_[i];

BucketState storage fromBucket = stakeInfo.snapshot[fromIndex];
BucketState storage toBucket = stakeInfo.snapshot[toIndex];

// call out to position manager to move liquidity between buckets
Expand Down

0 comments on commit a513472

Please sign in to comment.