From f463382f9dee000efd19b3d25f22162f3b1b4f95 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 1 Aug 2016 12:04:49 +0200 Subject: Bugfix: Correctly use srcmap-runtime. --- solc/CommandLineInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'solc') 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); -- cgit v1.2.3