diff options
author | Divay Prakash <divayprakash@users.noreply.github.com> | 2018-10-08 23:14:37 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-08 23:14:37 +0530 |
commit | 2c7c608d8c3b1e1a7fee5296e763b20388369f58 (patch) | |
tree | f5848cea540dfed561c6fbad349c764f0b7abbe2 | |
parent | 215d688c0616f5023cab98b6b1ff9735581f03ec (diff) | |
parent | 6bdff7f79ac9d561763840ecf9554147a1a8ac4d (diff) |
Merge pull request #3269 from chriszimmerman/GH-3065-solidity-constant
[Solidity/en] - # 3065 - Adds deprecation reminder for constant modifier in Solidity English d…
-rw-r--r-- | solidity.html.markdown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/solidity.html.markdown b/solidity.html.markdown index 004c225e..c0074b33 100644 --- a/solidity.html.markdown +++ b/solidity.html.markdown @@ -111,6 +111,7 @@ contract SimpleBank { // CapWords /// @return The balance of the user // 'constant' prevents function from editing state variables; // allows function to run locally/off blockchain + // NOTE: 'constant' on functions is an alias to 'view', but this is deprecated and is planned to be dropped in version 0.5.0. function balance() constant public returns (uint) { return balances[msg.sender]; } |