aboutsummaryrefslogtreecommitdiffstats
path: root/InterfaceHandler.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-12-21 23:28:46 +0800
committerGav Wood <i@gavwood.com>2014-12-21 23:28:46 +0800
commit566b980fa3efd4e7b930f44271ced446b401c456 (patch)
tree9aa06999ca25a5c20750ca085376cfcff84e5edf /InterfaceHandler.cpp
parent8e3fbbad44ad144b8cad9d6874e17de882869f11 (diff)
downloaddexon-solidity-566b980fa3efd4e7b930f44271ced446b401c456.tar.gz
dexon-solidity-566b980fa3efd4e7b930f44271ced446b401c456.tar.zst
dexon-solidity-566b980fa3efd4e7b930f44271ced446b401c456.zip
Fixed #683
Diffstat (limited to 'InterfaceHandler.cpp')
-rw-r--r--InterfaceHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp
index 60971fbb..224234cb 100644
--- a/InterfaceHandler.cpp
+++ b/InterfaceHandler.cpp
@@ -56,7 +56,7 @@ std::unique_ptr<std::string> InterfaceHandler::getABIInterface(ContractDefinitio
};
method["name"] = f->getName();
- method["const"] = f->isDeclaredConst();
+ method["constant"] = f->isDeclaredConst();
method["inputs"] = populateParameters(f->getParameters());
method["outputs"] = populateParameters(f->getReturnParameters());
methods.append(method);