aboutsummaryrefslogtreecommitdiffstats
path: root/InterfaceHandler.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-01-30 00:28:14 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-01-30 01:21:51 +0800
commit04190798eba7a2996b28aee6d74b1c636f575a02 (patch)
tree2a5fb37440bed96c96ecfcfda494fd1b436b3118 /InterfaceHandler.cpp
parentdcd47be6ca8b408b384dca9737625873ad279464 (diff)
downloaddexon-solidity-04190798eba7a2996b28aee6d74b1c636f575a02.tar.gz
dexon-solidity-04190798eba7a2996b28aee6d74b1c636f575a02.tar.zst
dexon-solidity-04190798eba7a2996b28aee6d74b1c636f575a02.zip
Minor fixes plus a rebase merge fix
Diffstat (limited to 'InterfaceHandler.cpp')
-rw-r--r--InterfaceHandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp
index dd569946..4d3ec4d5 100644
--- a/InterfaceHandler.cpp
+++ b/InterfaceHandler.cpp
@@ -60,6 +60,7 @@ std::unique_ptr<std::string> InterfaceHandler::getABIInterface(ContractDefinitio
return params;
};
+ solAssert(it.second->getDeclaration(), "All function interface types should contain a declaration");
method["name"] = it.second->getDeclaration()->getName();
method["constant"] = it.second->isConstant();
method["inputs"] = populateParameters(it.second->getParameterNames(),