diff --git a/solidity-scripting/src/W4D3/MyWallet.sol b/solidity-scripting/src/W4D3/MyWallet.sol index d84facc..df008fd 100644 --- a/solidity-scripting/src/W4D3/MyWallet.sol +++ b/solidity-scripting/src/W4D3/MyWallet.sol @@ -18,7 +18,10 @@ contract MyWallet { constructor(string memory _name) { name = _name; - owner = msg.sender; + + assembly { + sstore(0, caller()) + } } function transferOwnership(address _addr) public auth {