Getting error at lesson 4 in getConversionRate() #4501
Prajwal0225
started this conversation in
General
Replies: 2 comments 1 reply
-
is PriceConverter imported? If yes, add |
Beta Was this translation helpful? Give feedback.
1 reply
-
require(getConversionRate(msg.value) >= minimumUsd, "Didnt send enough Eth"); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently at my lesson 4 and I am getting error at require(msg.value.getConversionRate() >= minimumUsd,"Didn't send enough!");
In this line of code I am getting this error
"from solidity: TypeError: Member "getConversionRate" not found or not visible after argument-dependent lookup in uint256.
--> contracts/FundMe.sol:22:17:"
Beta Was this translation helpful? Give feedback.
All reactions