fixed extension of file json format

changed value for PUSH to hex
This commit is contained in:
Liana Husikyan 2015-04-15 13:28:49 +02:00
parent 104c5bca07
commit 8e04b27252

View File

@ -430,7 +430,7 @@ void CommandLineInterface::actOnInput()
if (outputToFile(choice))
{
ofstream outFile(contract + ".evm");
ofstream outFile(contract + (m_args.count(g_argAsmJsonStr) ? "_evm.json" : ".evm"));
m_compiler->streamAssembly(outFile, contract, m_sourceCodes, m_args.count(g_argAsmJsonStr));
outFile.close();
}