Renaming json fields smtlib2queries and smtlib2responses

This commit is contained in:
Leonardo Alt 2018-08-03 16:48:20 +02:00
parent 54bed454f6
commit f44be616c9

View File

@ -322,7 +322,7 @@ Json::Value StandardCompiler::compileInternal(Json::Value const& _input)
Json::Value const& auxInputs = _input["auxiliaryInput"];
if (!!auxInputs)
{
Json::Value const& smtlib2Responses = auxInputs["smtlib2"];
Json::Value const& smtlib2Responses = auxInputs["smtlib2responses"];
if (!!smtlib2Responses)
for (auto const& hashString: smtlib2Responses.getMemberNames())
{
@ -541,7 +541,7 @@ Json::Value StandardCompiler::compileInternal(Json::Value const& _input)
if (!m_compilerStack.unhandledSMTLib2Queries().empty())
for (string const& query: m_compilerStack.unhandledSMTLib2Queries())
output["auxiliaryInputRequested"]["smtlib2"]["0x" + keccak256(query).hex()] = query;
output["auxiliaryInputRequested"]["smtlib2queries"]["0x" + keccak256(query).hex()] = query;
output["sources"] = Json::objectValue;
unsigned sourceIndex = 0;