aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-12-22 10:09:11 +0800
committerGav Wood <i@gavwood.com>2014-12-22 10:09:11 +0800
commit510c66b6b816fa69dae9a5b423f306565961502a (patch)
treedd93b50d9b96b35286713dfabed3fecbdbb1a3dc
parent1540cc7b56669b050e22f79d76242a1890f33129 (diff)
downloaddexon-solidity-510c66b6b816fa69dae9a5b423f306565961502a.tar.gz
dexon-solidity-510c66b6b816fa69dae9a5b423f306565961502a.tar.zst
dexon-solidity-510c66b6b816fa69dae9a5b423f306565961502a.zip
const-> constant
-rw-r--r--SolidityABIJSON.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SolidityABIJSON.cpp b/SolidityABIJSON.cpp
index 4c7c2381..714aa0f3 100644
--- a/SolidityABIJSON.cpp
+++ b/SolidityABIJSON.cpp
@@ -232,7 +232,7 @@ BOOST_AUTO_TEST_CASE(const_function)
{
char const* sourceCode = "contract test {\n"
" function foo(uint a, uint b) returns(uint d) { return a + b; }\n"
- " function boo(uint32 a) const returns(uint b) { return a * 4; }\n"
+ " function boo(uint32 a) constant returns(uint b) { return a * 4; }\n"
"}\n";
char const* interface = R"([