Merge pull request #745 from Manidos/patch-1

Update contracts.rst
This commit is contained in:
chriseth 2016-07-27 12:15:50 +02:00 committed by GitHub
commit b72a693e39

View File

@ -85,7 +85,7 @@ This means that cyclic creation dependencies are impossible.
// Only the creator can alter the name --
// the comparison is possible since contracts
// are implicitly convertible to addresses.
if (msg.sender == creator)
if (msg.sender == address(creator))
name = newName;
}