Browse Source

Merge pull request #1807 from chriseth/sol_fix_missingFunctionHashesArgument

Fix for exception if function hashes not requested.
cl-refactor
Gav Wood 10 years ago
parent
commit
bb75aa6271
  1. 3
      solc/CommandLineInterface.cpp

3
solc/CommandLineInterface.cpp

@ -175,6 +175,9 @@ void CommandLineInterface::handleBytecode(string const& _contract)
void CommandLineInterface::handleSignatureHashes(string const& _contract)
{
if (!m_args.count(g_argSignatureHashes))
return;
string out;
for (auto const& it: m_compiler->getContractDefinition(_contract).getInterfaceFunctions())
out += toHex(it.first.ref()) + ": " + it.second->externalSignature() + "\n";

Loading…
Cancel
Save