aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-01 22:55:18 +0800
committerGitHub <noreply@github.com>2016-08-01 22:55:18 +0800
commitec97d574b1000933ab7f869cf83217f8687eef25 (patch)
tree83d70a87829be26ea9bfbb23dd762aec0229c101
parent94715aa5a9c54aed7e00f6a15bb6006118b79161 (diff)
parentf463382f9dee000efd19b3d25f22162f3b1b4f95 (diff)
downloaddexon-solidity-ec97d574b1000933ab7f869cf83217f8687eef25.tar.gz
dexon-solidity-ec97d574b1000933ab7f869cf83217f8687eef25.tar.zst
dexon-solidity-ec97d574b1000933ab7f869cf83217f8687eef25.zip
Merge pull request #774 from chriseth/srcmapruntime
Bugfix: Correctly use srcmap-runtime.
-rw-r--r--solc/CommandLineInterface.cpp2
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);