aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/InterfaceHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/InterfaceHandler.cpp')
-rw-r--r--libsolidity/InterfaceHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/InterfaceHandler.cpp b/libsolidity/InterfaceHandler.cpp
index fc79b493..50006caf 100644
--- a/libsolidity/InterfaceHandler.cpp
+++ b/libsolidity/InterfaceHandler.cpp
@@ -96,7 +96,7 @@ string InterfaceHandler::abiInterface(ContractDefinition const& _contractDef)
{
Json::Value input;
input["name"] = p->name();
- input["type"] = p->type()->toString(true);
+ input["type"] = p->annotation().type->toString(true);
input["indexed"] = p->isIndexed();
params.append(input);
}