Natspec: change events() to interfaceEvents()

This commit is contained in:
Harikrishnan Mulackal 2020-07-07 17:22:09 +05:30
parent a1c33249f1
commit 849bae2aa7

View File

@ -82,7 +82,7 @@ Json::Value Natspec::userDocumentation(ContractDefinition const& _contractDef)
} }
} }
for (auto const& event: _contractDef.events()) for (auto const& event: _contractDef.interfaceEvents())
{ {
string value = extractDoc(event->annotation().docTags, "notice"); string value = extractDoc(event->annotation().docTags, "notice");
if (!value.empty()) if (!value.empty())