Why must selfdestruct take the contract's original msg.sender argument? Isn't the idea that it 'self' destructs?


It takes an address as an argument(not necessarily the contract deployer's) to send the remaining ether in the contract to that address on self-destruction.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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