test #6688
Replies: 2 comments
-
Hey Mate , |
Beta Was this translation helpful? Give feedback.
-
The error you're encountering is because the Here's how you can fix your function by marking it as function fund() public payable {
require(msg.value > MINIMUM_USD, "Didn't send enough!"); // 1e18 == 1* 10**18 = 10000000000000000000
funders.push(msg.sender);
addressToAmountFunded[msg.sender] = msg.value;
} By adding the Explanation
Without the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
On this function, I'm running into an error:
Can someone tell me what's going on ?
Beta Was this translation helpful? Give feedback.
All reactions