fixed wrong resolving

This commit is contained in:
Liana Husikyan 2015-08-10 13:01:28 +02:00
parent 9853871b1a
commit e946840b19

View File

@ -135,7 +135,7 @@ void CommandLineInterface::handleBinary(string const& _contract)
}
if (m_args.count(g_argCloneBinaryStr))
{
if (outputToFile(m_args[g_argCloneBinaryStr].as<OutputType>()))
if (m_args.count("output-dir"))
{
stringstream data;
data << toHex(m_compiler->getCloneBytecode(_contract));