aboutsummaryrefslogtreecommitdiffstats
path: root/InterfaceHandler.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-05-19 21:33:08 +0800
committerLiana Husikyan <liana@ethdev.com>2015-05-19 21:37:46 +0800
commitec136e7bb0665cea2900101dc9971ab75d6a293c (patch)
treed4cf429252918f9bdefb960813231488d2b1f7ab /InterfaceHandler.cpp
parente7931ade613c6a6fedba75d851042b69b72f52f0 (diff)
downloaddexon-solidity-ec136e7bb0665cea2900101dc9971ab75d6a293c.tar.gz
dexon-solidity-ec136e7bb0665cea2900101dc9971ab75d6a293c.tar.zst
dexon-solidity-ec136e7bb0665cea2900101dc9971ab75d6a293c.zip
added ';'
Diffstat (limited to 'InterfaceHandler.cpp')
-rw-r--r--InterfaceHandler.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp
index 9817455b..9124d210 100644
--- a/InterfaceHandler.cpp
+++ b/InterfaceHandler.cpp
@@ -121,8 +121,11 @@ unique_ptr<string> InterfaceHandler::getABISolidityInterface(ContractDefinition
{
auto externalFunction = FunctionType(*_contractDef.getConstructor()).externalFunctionType();
solAssert(!!externalFunction, "");
- ret += "function " + _contractDef.getName() +
- populateParameters(externalFunction->getParameterNames(), externalFunction->getParameterTypeNames());
+ ret +=
+ "function " +
+ _contractDef.getName() +
+ populateParameters(externalFunction->getParameterNames(), externalFunction->getParameterTypeNames()) +
+ ";";
}
for (auto const& it: _contractDef.getInterfaceFunctions())
{