Skip to content

Commit

Permalink
fix: add view modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Nov 23, 2024
1 parent e41a817 commit 46a863c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ReservoirPriceOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ contract ReservoirPriceOracle is IPriceOracle, Owned(msg.sender), ReentrancyGuar

function _calculateReward(uint256 aPrevPrice, uint256 aNewPrice, uint256 aRewardThreshold)
private
view
returns (uint256 rReward)
{
// SAFETY: this mul will not overflow as 0 < `aRewardThreshold` <= `Constants.BP_SCALE`, as checked by `setRoute`
Expand Down

0 comments on commit 46a863c

Please sign in to comment.