Make sure some keys are present.

This commit is contained in:
chriseth
2016-12-01 16:03:59 +01:00
parent e666f8cda7
commit 659b635b2d
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ void CommandLineInterface::handleOnChainMetadata(string const& _contract)
string data = m_compiler->onChainMetadata(_contract);
if (m_args.count("output-dir"))
createFile(_contract + ".meta", data);
createFile(_contract + "_meta.json", data);
else
cout << "Metadata: " << endl << data << endl;
}