Remove TODO comment, correct 10^-6 (#108)

This commit is contained in:
derpy-duck 2023-02-27 18:49:58 -05:00 committed by GitHub
parent 7416880825
commit 7b384caadc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -35,8 +35,7 @@ contract RelayProvider is RelayProviderGovernance, IRelayProvider {
return quoteAssetConversion(targetChain, gasPrice(targetChain), chainId());
}
//Returns the price of chainId's native currency in USD * 10^6
//TODO decide on USD decimals
//Returns the price of chainId's native currency in USD 10^-6 units
function quoteAssetPrice(uint16 chainId) public view override returns (uint256) {
return nativeCurrencyPrice(chainId);
}