diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-13 23:15:32 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-13 23:15:32 +0800 |
commit | ac8ad058cf0cf4fdc73591393eee7f1611560862 (patch) | |
tree | b412864e00ffc25b25b67803070beb86c831cbda /InterfaceHandler.cpp | |
parent | 12e000e0d327ead61092c890d0e5a359a9b9a54d (diff) | |
download | dexon-solidity-ac8ad058cf0cf4fdc73591393eee7f1611560862.tar.gz dexon-solidity-ac8ad058cf0cf4fdc73591393eee7f1611560862.tar.zst dexon-solidity-ac8ad058cf0cf4fdc73591393eee7f1611560862.zip |
Natspec method key is now the Canonical Signature
Diffstat (limited to 'InterfaceHandler.cpp')
-rw-r--r-- | InterfaceHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp index a5c6f4a1..4c7ae5f4 100644 --- a/InterfaceHandler.cpp +++ b/InterfaceHandler.cpp @@ -106,7 +106,7 @@ std::unique_ptr<std::string> InterfaceHandler::getUserDocumentation(ContractDefi if (!m_notice.empty()) {// since @notice is the only user tag if missing function should not appear user["notice"] = Json::Value(m_notice); - methods[it.second->getName()] = user; + methods[it.second->getCanonicalSignature()] = user; } } } @@ -162,7 +162,7 @@ std::unique_ptr<std::string> InterfaceHandler::getDevDocumentation(ContractDefin method["return"] = m_return; if (!method.empty()) // add the function, only if we have any documentation to add - methods[it.second->getName()] = method; + methods[it.second->getCanonicalSignature()] = method; } } doc["methods"] = methods; |