Hot answers tagged

1

You are mixing up the equality operator (==) and the assignment operator (=) in several places. For example: Manager == msg.sender; should be Manager = msg.sender; userGroup[msg.sender] == "A"; should be userGroup[msg.sender] = "A"; userGroup[msg.sender] == "B"; should be userGroup[msg.sender] = "B"; (There might be ...


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