diff options
-rw-r--r-- | solc/CommandLineInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solc/CommandLineInterface.cpp b/solc/CommandLineInterface.cpp index ac8db160..ec87b891 100644 --- a/solc/CommandLineInterface.cpp +++ b/solc/CommandLineInterface.cpp @@ -668,7 +668,7 @@ void CommandLineInterface::handleCombinedJSON() if (requests.count("srcmap-runtime")) { auto map = m_compiler->runtimeSourceMapping(contractName); - contractData["srcmap"] = map ? *map : ""; + contractData["srcmap-runtime"] = map ? *map : ""; } if (requests.count("devdoc")) contractData["devdoc"] = m_compiler->metadata(contractName, DocumentationType::NatspecDev); |