mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Reverted functionHashes output to use method signature as keys
This commit is contained in:
parent
7c7df6f38b
commit
5f7bca94e5
@ -485,7 +485,7 @@ Json::Value CompilerStack::functionHashes(ContractDefinition const& _contract)
|
||||
{
|
||||
Json::Value functionHashes(Json::objectValue);
|
||||
for (auto const& it: _contract.interfaceFunctions())
|
||||
functionHashes[toHex(it.first.ref())] = it.second->externalSignature();
|
||||
functionHashes[it.second->externalSignature()] = toHex(it.first.ref());
|
||||
return functionHashes;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user