adopt cameel's version

This commit is contained in:
QQ喵 2021-06-10 09:13:27 +08:00
parent aa37cc526a
commit 9a847deaee

View File

@ -51,8 +51,9 @@ code that manages the database. In this example, the contract defines the
functions ``set`` and ``get`` that can be used to modify functions ``set`` and ``get`` that can be used to modify
or retrieve the value of the variable. or retrieve the value of the variable.
To access a state variable, you can not prefix with ``this.`` as is common in To access a state variable, you do not typically add the ``this.`` prefix.
other languages. Unlike in some other languages, omitting it is not just a matter of style,
it results in a completely different operation.
This contract does not do much yet apart from (due to the infrastructure This contract does not do much yet apart from (due to the infrastructure
built by Ethereum) allowing anyone to store a single number that is accessible by built by Ethereum) allowing anyone to store a single number that is accessible by