Skip to content

Commit

Permalink
Bump SCALE_FACTOR used by UniStaker to 1e36
Browse files Browse the repository at this point in the history
  • Loading branch information
apbendi committed Feb 7, 2024
1 parent cf397fa commit 048afe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UniStaker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ contract UniStaker is INotifiableRewardReceiver, ReentrancyGuard, Multicall {

/// @notice Scale factor used in reward calculation math to reduce rounding errors caused by
/// truncation during division.
uint256 public constant SCALE_FACTOR = 1e24;
uint256 public constant SCALE_FACTOR = 1e36;

/// @dev Unique identifier that will be used for the next deposit.
DepositIdentifier private nextDepositId;
Expand Down

0 comments on commit 048afe4

Please sign in to comment.