Hot answers tagged

1

I wouldn't critique style and formatting too much as this is your first effort. It looks like it should work but you have to send from the owner account, but you don't set the owner, so it is still 0x0. Do address public owner; So you can inspect it, to confirm. The usual way to set the owner is the constructor. constructor() public { owner = msg....


Only top voted, non community-wiki answers of a minimum length are eligible