Replies: 1 comment
-
Use the function FUND() public payable {
if( msg.value.GET_CONVERSION_RATE( ) < MINIMUM_USD ) {
revert VALUE_NOT_ENOUGH();
}
FUNDERS.push( msg.sender );
ADDRESS_TO_AMOUNT_FUNDED[ msg.sender ] = msg.value;
} |
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
-
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