2

These functions are transferring ether between balances, so why aren't they modified with payable?

1 Answer 1

3

Those examples date from a version of solidity prior to when the payable modifer existed. I believe it was introduced in version 0.4.0, released on September 8, 2016. The blog post you link to dates from July of 2016

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.