Skip to content

Commit

Permalink
expose _setOracleConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
0xFirekeeper committed Oct 30, 2024
1 parent b2337c2 commit 98787ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/prebuilts/account/utils/OracleHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ abstract contract OracleHelper {
_setOracleConfiguration(_oracleHelperConfig);
}

function _setOracleConfiguration(OracleHelperConfig memory _oracleHelperConfig) private {
function _setOracleConfiguration(OracleHelperConfig memory _oracleHelperConfig) internal {
oracleHelperConfig = _oracleHelperConfig;
require(_oracleHelperConfig.priceUpdateThreshold <= PRICE_DENOMINATOR, "TPM: update threshold too high");
tokenOracleDecimalPower = uint128(10 ** oracleHelperConfig.tokenOracle.decimals());
Expand Down

0 comments on commit 98787ee

Please sign in to comment.