Merge pull request #9338 from ethereum/interface-events

Natspec: change events() to interfaceEvents()
This commit is contained in:
chriseth 2020-07-07 14:25:41 +02:00 committed by GitHub
commit d67862362a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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");
if (!value.empty())