Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update zombiehelper.sol #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

4samad
Copy link

@4samad 4samad commented Jul 5, 2022

the address needs to be payable to receive eth.

the address needs to be payable to receive eth.
@xyz899
Copy link

xyz899 commented Aug 8, 2023

Hi !
It seems there might be a misunderstanding regarding the use of the payable modifier in the owner() function.
In Solidity, the address type is implicitly payable, which means it can send and receive Ether by default. That's why the _owner address can be used with the .transfer() function without explicitly marking it as payable. So, even though the owner() function is not explicitly marked as payable, the _owner address can still be used to transfer Ether.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants