Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • You're dead right about the pragma, it's a stupid error. I did comment out the require() but Remix still says the gas supply is infinite; if I comment out msg.sender.transfer line it stops the error but. of course, makes the function useless. Commented Feb 24, 2020 at 9:50
  • That sounds like trying to send more money than the contract has. Commented Feb 24, 2020 at 14:26