Closed infinityhacker closed 5 years ago
when calling free in GST2.sol, it will call selfdestruct and send all asset to msg.sender, why? I think it should be send to tx.origin?
The child contracts being destroyed should not hold any ether. So the beneficiary of the selfdestruct does not matter.
selfdestruct
when calling free in GST2.sol, it will call selfdestruct and send all asset to msg.sender, why? I think it should be send to tx.origin?