File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
contracts/token/extensions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ abstract contract ConfidentialFungibleTokenERC20Wrapper is ConfidentialFungibleT
160160 * Used as a default fallback when {_tryGetAssetDecimals} fails to fetch decimals of the underlying
161161 * ERC-20 token.
162162 */
163- function _defaultUnderlyingDecimals () internal pure virtual returns (uint8 ) {
163+ function _fallbackUnderlyingDecimals () internal pure virtual returns (uint8 ) {
164164 return 18 ;
165165 }
166166
@@ -178,6 +178,6 @@ abstract contract ConfidentialFungibleTokenERC20Wrapper is ConfidentialFungibleT
178178 if (success && encodedDecimals.length == 32 ) {
179179 return abi.decode (encodedDecimals, (uint8 ));
180180 }
181- return _defaultUnderlyingDecimals ();
181+ return _fallbackUnderlyingDecimals ();
182182 }
183183}
You can’t perform that action at this time.
0 commit comments